Rebol Programming/loop
Jump to navigation
Jump to search
USAGE:[edit | edit source]
LOOP count block
DESCRIPTION:[edit | edit source]
Evaluates a block a specified number of times.
LOOP is a native value.
ARGUMENTS:[edit | edit source]
- count -- Number of repetitions (Type: integer)
- block -- Block to evaluate (Type: block)
SOURCE CODE[edit | edit source]
loop: native[ "Evaluates a block a specified number of times." count [integer!] "Number of repetitions" block [block!] "Block to evaluate" ]