getelt
getelt |
Purpose
Get an element of a set or a list.
Synopsis
function getelt(e:set):type_of_e
function getelt(l:list):type_of_l
Arguments
e
|
A set
|
l
|
A list
|
Return value
An element of the set or list.
Further information
When applied to a range set or list this function behaves like
getfirst. An error is generated if the argument of the function is empty.
Related topics