Menu

#265 Operator IN to test many values at once in IF like select-case

open
nobody
None
2012-12-07
2012-12-07
Otter
No

Include the operator IN, which is getting an operand, and, in some brackets, commadelimited set of ranges or values, like for SELECT CASE. No need, sure, to introduce full scale sets for it.
IF Z IN [3, 2, 10 TO 15, < -10, >= 1000] THEN END
(by the way IS seems superflous there, but this's secondary)

Discussion


Log in to post a comment.