Quantcast
Channel: If...else if...else in REBOL - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by HappySpoon for If...else if...else in REBOL

$
0
0

And a further option is to use all

all [   expression1   expression2   expression3]

and as long as each expression returns a true value, they will continue to be evaluated.

so,

if all [ .. ][ ... do this if all of the above evaluate to true. ... even if not all true, we got some work done :)]

and we also have any

if any [       expression1       expression2       expression3][  this evaluates if any of the expressions is true ]

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>