Rebol Programming/loop

USAGE:

edit
LOOP count block 

DESCRIPTION:

edit

Evaluates a block a specified number of times.

LOOP is a native value.

ARGUMENTS:

edit
  • count -- Number of repetitions (Type: integer)
  • block -- Block to evaluate (Type: block)

SOURCE CODE

edit
loop: native[
    "Evaluates a block a specified number of times." 
    count [integer!] "Number of repetitions" 
    block [block!] "Block to evaluate"
]