NAME
LastOf — Return the last element of the list.
SYNOPSIS
LastOf ListValue
DESCRIPTION
Return Value
Last element of the list.
Arguments
ListValueList to get last element of.
More Info
Does the equivalent of lindex but is shorter and has more semantic expressiveness.

For information regarding exceptions / errors, see here.
EXAMPLES
% set MyList [list 1 2 3]
1 2 3
% LastOf $MyList
3
SEE ALSO
FirstOf, lindex
KEYWORDS
extraction, list