SeqFirst

Returns the first element and sets the cursor

Keywords

Parameters & Returns

Parameters

seq Sequence

Returns

Object

Quick Summary

Returns the first element and sets the cursor

Technical Exegesis...

Returns the first element of a Sequence and moves the internal cursor to the start. Syntax is 'SeqFirst(seq)'. Used as an expression, typically to begin a manual walk with SeqNext. For a Sequence of Types, returns Null if the Sequence is empty. The cursor used here is independent of EachSeq iteration.

Example

Example.bam
; No example implemented yet