get the range from a number in a list
Feb 04 2011 | 1:17 pm
maybe a dummy question, sorry for the hassle. So I have a list of, say 4 numbers : 2 4 9 11 and when I get the number - say 4 - from another part of the patch, I'm looking for a way to test this number in the list below and output it's range, in fact here 2.
I can't figure it out with zl, as zl nth gives me the value of the nth element of the list, and I need its range.
Thanks for your help.