411 REFERENCE · Wikibooks
Rebol Programming/if
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
IF condition then-block /else else-block
DESCRIPTION:
If condition is TRUE, evaluates the block.
IF is a native value.
ARGUMENTS:
condition -- (Type: any)
then-block -- (Type: block)
REFINEMENTS:
/else -- If not true, evaluate this block
else-block -- (Type: block)
SOURCE CODE
if: native[
"If condition is TRUE, evaluates the block."
condition
then-block [block!]
/else "If not true, evaluate this block"
else-block [block!]
]