Initializing help system before first use

cutlast

cutlast


Purpose
Extract the last element of a range set or a list.
Synopsis
function cutlast(r:range):integer
function cutlast(l:list):type_of_l
Arguments
A range set
A list
Return value
The last element of the set or list after it has been removed from its container.
Further information
This function is equivalent to calling getlast and then cuttail for dropping one element.
Related topics