Rebol Programming/first+
USAGE:Edit
FIRST+ 'word
DESCRIPTION:Edit
Return FIRST of series, and increment the series index.
FIRST+ is a function value.
ARGUMENTSEdit
- word -- Word must be a series. (Type: word paren)
(SPECIAL ATTRIBUTES)Edit
- catch
SOURCE CODEEdit
first+: func [ {Return FIRST of series, and increment the series index.} [catch] 'word [word! paren!] "Word must be a series." ][ if paren? :word [set/any 'word do :word] throw-on-error [also pick get word 1 set word next get word] ]