Jump to content

Rebol Programming/unless

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
UNLESS condition block 

DESCRIPTION:

[edit | edit source]

Evaluates the block if condition is not TRUE.

UNLESS is a native value.

ARGUMENTS

[edit | edit source]
  • condition -- (Type: any)
  • block -- (Type: block)

SOURCE CODE

[edit | edit source]
unless: native[
    "Evaluates the block if condition is not TRUE." 
    condition 
    block [block!]
]