cutelt
cutelt |
Purpose
Extract an element from a set or a list.
Synopsis
function cutelt(e:set):type_of_e
function cutelt(l:list):type_of_l
function cutelt(l:list,p:integer):type_of_l
Arguments
e
|
A set
|
l
|
A list
|
p
|
Index of the element to remove (default:1)
|
Return value
An element of the set or list after it has been removed from its container.
Further information
When applied to a range set or list this function behaves like
cutfirst. An error is generated if the argument of the function is empty.
Related topics