Good to know, actually, because as I recall in VBA you can't do that because IIF evaluates ALL of the responses, even if they are not used. So your example would fail with an invalid number.
Pity about the CHOOSE operator, I'm a Clarion programmer and I like that minimalistic languaje, for ex, we only have a LOOP command for LOOPs:
LOOP F = 1 TO N (BY step)
. (or END at your preference)
LOOP UNTIL/WHILE
just LOOP.
Pity about the CHOOSE operator, I'm a Clarion programmer and I like that minimalistic languaje, for ex, we only have a LOOP command for LOOPs:
LOOP F = 1 TO N (BY step)
. (or END at your preference)
LOOP UNTIL/WHILE
just LOOP.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.