Skip to content
angerangel edited this page Mar 19, 2013 · 1 revision

USAGE

   LOOP count block

DESCRIPTION

Evaluates a block a specified number of times.

LOOP is a native value.

ARGUMENTS

  • count -- Number of repetitions (number!)
  • block -- Block to evaluate (block!)

#SOURCE

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

Clone this wiki locally