Rebol Programming/pick

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

PICK series index 

DESCRIPTION:[edit | edit source]

Returns the value at the specified position in a series.

PICK is an action value.

ARGUMENTS:[edit | edit source]

  • series -- (Type: series pair event money date time object port tuple any-function)
  • index -- (Type: number logic pair)

SOURCE CODE[edit | edit source]

pick: native[
    {Returns the value at the specified position in a series.} 
    series [series! pair! event! money! date! time! object! port! tuple! any-function!] 
    index [number! logic! pair!]
]