|
setq
|
The setq function alters the bindings of a Structure. The
various syntax forms of the setq functions allows the modification
of any key in the Structure, as well as any value in the Structure.
Use the setq function when you want to modify one of the bindings in a structure, dictionary or directory. You can modify either a key or a value of a binding.
Strong Typed:
(setq struct key newValue ) Returns an updated Structure.
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.
(refStrValue aStruct index)
(refStrKey aStruct index)
Name
Description
AIS Types struct The Structure to be modified. Structure key The key whose value is to be modified. If the key is already present,
then its bound value will be modified; otherwise, the new key will be
added bound with the specified new value. The current key value bindings
are assumed NOT to exist in binary unique ascending sorted order. Symbol newValue The new value to be bound along with the key. Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
Returns:
Examples
Argument Types
How do I contact the AIS team?