Rebol Programming/append
Appearance
USAGE:
[edit | edit source]APPEND series value /only
DESCRIPTION:
[edit | edit source]Appends a value to the tail of a series and returns the series head.
APPEND is a function value.
ARGUMENTS
[edit | edit source]- series -- (Type: series port)
- value -- (Type: any)
REFINEMENTS
[edit | edit source]- /only -- Appends a block value as a block
SOURCE CODE
[edit | edit source]append: func [ {Appends a value to the tail of a series and returns the series head.} series [series! port!] value /only "Appends a block value as a block" ][ head either only [ insert/only tail series :value ] [ insert tail series :value ] ]