REBOL Programming/unless

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

UNLESS condition block 

DESCRIPTION:[edit]

Evaluates the block if condition is not TRUE.

UNLESS is a native value.

ARGUMENTS[edit]

  • condition -- (Type: any)
  • block -- (Type: block)

SOURCE CODE[edit]

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