SeqLast

Returns the last element and sets the cursor

Keywords

Parameters & Returns

Parameters

seq Sequence

Returns

Object

Quick Summary

Returns the last element and sets the cursor

Technical Exegesis...

Returns the last element of a Sequence and moves the internal cursor to the end. Syntax is 'SeqLast(seq)'. Used as an expression, typically to begin a backward walk with SeqBefore. 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