All - Function Summary
Shortcut AND. Evaluates and returns at the first FALSE or NONE.
block - Block of expressions (must be: block)
Evaluates each expression in a block until one of the
expressions returns NONE or FALSE, in which case a NONE is
returned. Otherwise, the value of the last expression will be
print all [10 > 1 "yes"]
print all [1 > 10 "yes"]
if all [time > 10:00 time < 11:00] [print "time is now"]
time is now
No other expressions are evaluated beyond the point where
a value fails:
all [none a: 2]
all [1 a: 2]
ready: all [day > 5 time < 10:00 time: 12:00]
and - Returns the first value ANDed with the second.
any - Shortcut OR. Evaluates and returns the first value that is not FALSE or NONE.
or - Returns the first value ORed with the second.