< Rebol Programming

USAGE:

POKE value index data 

DESCRIPTION:

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

POKE is an action value.

ARGUMENTS:

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

SOURCE CODE

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"
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.