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

USAGE

   FORSKIP 'word size body

DESCRIPTION

Evaluates a block for periodic values in a series.

FORSKIP is a native value.

ARGUMENTS

  • word -- Word that refers to the series, set to each position in series (word!)
  • size -- Number of positions to skip each time (integer! decimal!)
  • body -- Block to evaluate each time (block!)

#SOURCE

forskip: make native! [  [
    "Evaluates a block for periodic values in a series."
    'word [word!] {Word that refers to the series, set to each position in series}
    size [integer! decimal!] "Number of positions to skip each time"
    body [block!] "Block to evaluate each time"
    /local orig result
] ]
Clone this wiki locally