Rebol Programming/while

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:

[edit | edit source]
WHILE cond-block body-block 

DESCRIPTION:

[edit | edit source]

While a condition block is TRUE, evaluates another block.

WHILE is a native value.

ARGUMENTS

[edit | edit source]
  • cond-block -- (Type: block)
  • body-block -- (Type: block)

SOURCE CODE

[edit | edit source]
while: native[
    {While a condition block is TRUE, evaluates another block.} 
    cond-block [block!] 
    body-block [block!]
]