|
delete
|
The delete function destructively deletes the specified binding from a ObjectRepository. The key is specified explicitly as an argument
{key} or by the index {index} into the ObjectRepository. The ObjectRepository 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 aGor key) Always returns the Object Repository. If the key is found, the Object Repository has
the key removed. If the key index is not found the ObjectRepository is returned
unmodified.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Example_ObjectRepository_delete_013
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 aGor The ObjectRepository you wish to modify. ObjectRepository key Must be an existing object in the ObjectRepository. Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory Brick
Matrix NumMatrix Integer Float Number Complex Boolean
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?