< Rebol Programming
USAGE:
LOOP count block
DESCRIPTION:
Evaluates a block a specified number of times.
LOOP is a native value.
ARGUMENTS:
- count -- Number of repetitions (Type: integer)
- block -- Block to evaluate (Type: block)
SOURCE CODE
loop: native[
"Evaluates a block a specified number of times."
count [integer!] "Number of repetitions"
block [block!] "Block to evaluate"
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.