remove (Object control)

Removes a field from a list by index or by name (the last matching field is removed).

Arguments

indexOrName
is an integer number (zero-based) or a string.
list
to remove a field from, can be a builtin-list or a structure.

Return values

None

Example

a: (1 2 3); 1 a remove a print
Output:
( 1 3 )