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

USAGE

   POKE series index value

DESCRIPTION

Replaces an element at a given position.

POKE is an action value.

ARGUMENTS

  • series -- (modified) (series! port! map! gob! bitset!)
  • index -- Index offset, symbol, or other value to use as index
  • value -- The new value (returned) (any-type!)

#SOURCE

poke: make action! [  [
    "Replaces an element at a given position."
    series [series! port! map! gob! bitset!] "(modified)"
    index {Index offset, symbol, or other value to use as index}
    value [any-type!] "The new value (returned)"
] ]

Clone this wiki locally