|
delete
|
The delete function destructively deletes the specified binding from a
Dictionary. The key is specified explicitly as an argument
{key} or by the index {index} into the Dictionary. The
Dictionary is decreased in size to reflect the lost value.
Use delete function is used to remove a binding from a Structure, Dictionary, ObjectRepository or Directory. The binding to be deleted can be specified by key or as a numeric index.
The delete function behaves like the remove function with the following exception:
(delete dictionary key) The modified Dictionary. If the key or index is not found the Dictionary 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 dictionary The Dictionary you wish to modify. Dictionary key An existing key in the Dictionary. 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?