|
delete
|
The delete function destructively deletes the specified value from a Vector. The object is specified
explicitly as an argument
{obj} or by the index {index} into the Vector. The Vector is decreased in
size to reflect the lost value. When to use The delete function is used to remove an object from a FltVector.
The object to be deleted must be specified as an index into the FltVector.
The delete function behaves like the remove function with the following
exception: The delete function is destructive and the remove function is
non-destructive.
(delete vector key) The modified Vector. If the key or index is not found the Vector is
returned unmodified
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types vector The Vector you wish to modify. Vector FltVector IntVector ShortVector NumVector ObjVector key An existing key in the Vector. Symbol
Returns:
Examples
Argument Types
Structure
Dictionary
Directory
Integer
Vector
Pair
List
Symbol
NumMatrix
ObjectRepository
Matrix
FltVector
ShortVector
IntVector
NumVector
ObjVector
How do I contact the AIS team?