hi list,

maybe it's obvious, but just in case there is someone else like me who didn't know this before, I thought I share what I've just discovered:
the logical operators "AND" and "OR" also work for lists:

put ([4,0,4,-5,2,4] AND [1,2,0,0,0,"a"])
-- [1, 0, 0, 0, 0, 1]

put ([4,0,0,-5,2,4] OR [1,2,0,0,0,"a"])
-- [1, 1, 0, 1, 1, 1]

put ([4,0,4,2,VOID,6] AND TRUE)
- [1, 0, 1, 1, 0, 1]

cheers,
valentin
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to