i’m probably overlooking something, but i just can’t find < , >, < = or >= for lists anywhere, though i thought Lobjects contains them…
Maybe a silly reply, but what do you mean by < , >, < = or >= for lists? What would generate a positive result…. if all items in one list were less than all items in another, for example?
If you’re trying to test out if a list is different to another list, you can do a number of things with [zl compare], [zl change] etc.
i want to check if each element of a list is greater or lesser then the corresponding elements of another list.
eg ‘1 2 3 4’ > ‘4 3 2 1’ would give ‘0 0 1 1’
differences in length are not really an issue for me, as the lists will always have the same length.
The vexpr object does this.
indeed. [vexpr ($f1==$f2)] will return true or false.
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions