REBOL Programming/head

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

HEAD series 

DESCRIPTION:[edit]

Returns the series at its head.

HEAD is an action value.

ARGUMENTS[edit]

  • series -- (Type: series port)

SOURCE CODE[edit]

head: native[
    "Returns the series at its head." 
    series [series! port!]
]