Last modified on 31 October 2012, at 16:45

REBOL Programming/poke

USAGE:Edit

POKE value index data 

DESCRIPTION:Edit

Changes a value at the given index. (See manual)

POKE is an action value.

ARGUMENTS:Edit

  • value -- (Type: series money date time object port tuple)
  • index -- (Type: number logic pair)
  • data -- new value (Type: any)

SOURCE CODEEdit

poke: native[
    "Changes a value at the given index. (See manual)" 
    value [series! money! date! time! object! port! tuple!] 
    index [number! logic! pair!] 
    data "new value"
]