< Rebol Programming
USAGE:
REPEAT 'word value body
DESCRIPTION:
Evaluates a block a number of times or over a series.
REPEAT is a native value.
ARGUMENTS
- word -- Word to set each time (Type: word)
- value -- Maximum number or series to traverse (Type: integer series)
- body -- Block to evaluate each time (Type: block)
SOURCE CODE
repeat: native[ {Evaluates a block a number of times or over a series.} 'word [word!] "Word to set each time" value [integer! series!] "Maximum number or series to traverse" body [block!] "Block to evaluate each time" ]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.