seothtt 1 Posted January 9, 2013 Report Share Posted January 9, 2013 If I have a list that can be from 1 to 1000 rows long, what is the best way to get the first and last items in that list? So they list may have 768 items, and I only want the first row and the last row. Thanks,Richard Quote Link to post Share on other sites
Aymen 385 Posted January 9, 2013 Report Share Posted January 9, 2013 simple set(#first list item, $list item(%list1, 0), "Global")set(#last list item, $add($list total(%list1), 1), "Global") Quote Link to post Share on other sites
seothtt 1 Posted January 9, 2013 Author Report Share Posted January 9, 2013 Cool, thanks very much. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.