< Rebol Programming

USAGE:

WHILE cond-block body-block 

DESCRIPTION:

While a condition block is TRUE, evaluates another block.

WHILE is a native value.

ARGUMENTS

  • cond-block -- (Type: block)
  • body-block -- (Type: block)

SOURCE CODE

while: native[
    {While a condition block is TRUE, evaluates another block.} 
    cond-block [block!] 
    body-block [block!]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.