angerangel edited this page Jan 4, 2013 · 1 revision

USAGE

   IF condition then-block /else else-block

DESCRIPTION

If condition is TRUE, evaluates the block.

IF is a native value.

ARGUMENTS

  • condition
  • then-block (block!)

REFINEMENTS

  • /else -- If not true, evaluate this block
    • else-block (block!)

#SOURCE

if: make native! [  [
    "If condition is TRUE, evaluates the block."
    condition
    then-block [block!]
    /else "If not true, evaluate this block"
    else-block [block!]
] ]
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.