|
setq
|
The setq function alters the I-th element in a List to a specific value.
Use the setq when you want to replace an existing element in a List or dynamically expand and add an element to a List.
(setq list index newValue ) Returns an updated List
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 list The list to be modified List index The index of element to be setq. Integer newValue The new value that will occupy the location List[index] Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean
Returns:
Examples
Argument Types
How do I contact the AIS team?