|
setq
|
Overview
The setq function sets the value of a variable to a new value.
String
The setq function replaces the I-th character in a String with a new
Character value. If the specified target is a Text, it must be first converted to
a String. If the index is greater than the index of the last character in a String,
the String is resized to the size of the specified index, and the intervening
characters are padded with the space character: #\space.
Symbol
The setq function alters the global value of a Symbol.
Structure
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.
Dictionary
The setq function alters the bindings of a Dictionary. There are two
syntax forms for changing a Dictionary binding. The first syntax form requires a
key argument {key} and a value argument {newValue} and results in
replacing the value at the specified key with {newValue}. The second syntax
form requires a single index. The index {index1} selects the index1-th
binding pair and results in replacing the value at the specified index1-th position.
The third syntax form requires two indices. The first index specifies the index1-th
binding in the Dictionary and the second index {index2} specifies which part
of the binding pair will be altered. If {index2} is equal to 0 the key will
be replaced, if {index2} is equal to 1, then the value will be replaced.
Directory
The setq function alters the bindings of a Directory. There are two
syntax forms for changing a Directory binding. The first syntax form requires a
key argument {key} and a value argument {newValue} and results in
replacing the value at the specified key with {newValue}. The second syntax
form requires a single index. The index {index1} selects the index1-th
binding pair and results in replacing the value at the specified index1-th position.
The third syntax form requires two indices. The first index specifies the index1-th
binding in the Dictionary and the second index {index2} specifies which part
of the binding pair will be altered. If {index2} is equal to 0 the key will
be replaced, if {index2} is equal to 1, then the value will be replaced.
Vector
The setq function alters the I-th element in a Vector to a specific value.
Brick
The setq function alters a field value of a Brick. The various syntax
forms of the setq functions allow the modification of any field in the Record.
Matrix
The setq function alters the I-th element in a Matrix to a specific value.
The Matrix can also be accessed by indices across its dimensions if the Matrix has a
rank greater than one.
List
The setq function alters the I-th element in a List to a specific value.
Lambda
The setq function is used with an Lambda object to alter a method, or persistent variable that is owned by the Lambda.
ObjectRepository
The setq special form is a short hand form for the set function which assigns new values to
variables. A simple set function results in a simple assignment and is uncomplicated. However, the set
function can also be used to set a new value into a target object with indexing. When indexing is used,
the results of the set function depend upon the type of target object being indexed. The result of a set
function, with indexing, are complicated because we need to know the type of target object and the types of the
indices. In all cases the setq special form converts easily into a longer set function call.
Usage
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.
String
The setq function is used to modify a single character from a String.
Assuming there are n characters in the String, the character indices run from
0 thru n-1. The setq function does not apply to Text.
Symbol
Use the setq function when you want to replace the global value of Symbol
with a new value.
Vector
Use the setq function when you want to replace an existing element in a
Vector or dynamically expand and add an element to a Vector.
Brick
Use the setq function when you want to modify one of the
fields in a brick.
Matrix
Use the setq when you want to replace an existing element in a Matrix or
dynamically expand and add an element to a Matrix.
List
Use the setq when you want to replace an existing element in a List or
dynamically expand and add an element to a List.
Void
Use the setq when you want to replace the value of a variable with a new value.
Boolean
Use the setq when you want to replace the value of a variable with a new value.
Character
Use the setq when you want to replace the value of a variable with a new value.
Number
Use the setq when you want to replace the value of a variable with a new value.
ObjectRepository
Use the setq special form when a longer set function is too cumbersome.
Date
Use the setq when you want to replace the value of a variable with a new value.
Syntax
Expression: |
(setq vector index newValue)
Strong Typed:
(setVector Vector index newValue)
(setBitVector BitVector index newValue)
(setBytVector ByteVector index newValue)
(setFltVector FltVector index newValue)
(setIntVector IntVector index newValue)
(setNumVector NumVector index newValue)
(setObjVector ObjVector index newValue)
(setShortVector ShortVector index newValue)
(setPcdVector PcodeVector index newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | vector | Vector BitVector ByteVector, ShortVector
FltVector IntVector NumVector ObjVector PcodeVector. |
The Vector to be modified. |
---|
Argument: | index | Integer |
The index of element to be set. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value that will occupy the location Vector[index]. |
---|
Returns: |
Returns an updated Vector.
|
---|
Expression: |
(set string index newValue)
Strong Typed:
(setString string index newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | string | String |
A String object. |
---|
Argument: | index | Integer |
An integer index |
---|
Argument: | newValue | Character |
A Character value |
---|
Returns: |
The result String after setq is performed.
|
---|
Expression: |
(setq sym newValue )
|
Arguments |
Name |
Type |
Description |
Argument: | sym | --- |
The Symbol whose value will be modified |
---|
Argument: | newValue | String, Symbol or Text |
New string value |
---|
Returns: |
Returns the value of the updated symbol.
|
---|
Expression: |
Strong Typed:
(refStrValue aStruct index)
(refStrKey aStruct index)
(setq struct key newValue )
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Structure |
The Structure to be modified. |
---|
Argument: | key | Symbol |
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. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Structure.
|
---|
Expression: |
(setq struct index1 newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Structure |
The Structure to be modified. |
---|
Argument: | index1 | Integer |
If the index1 is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to replace the old value. |
---|
Returns: |
Returns an updated Structure.
|
---|
Expression: |
(setq struct index1 index2 newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Structure |
The Structure to be modified. |
---|
Argument: | index1 | Integer |
If the index1 is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | index2 | Integer |
If equal to 0 then the newValue argument is to modify the Key. If equal to 1 then
the newValue argument is to modify the old value. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to modify either the old key or the old value. |
---|
Returns: |
Returns an updated Structure.
|
---|
Expression: |
(setq struct last: key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Structure |
The Structure to be modified. |
---|
Argument: | last: | Symbol |
If the index1 is present and is the symbol last, a new binding
will be added after the last index position. |
---|
Argument: | key | Symbol |
The key for the new binding. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Structure.
|
---|
Expression: |
(setq struct sorted: key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Structure |
The Structure to be modified. |
---|
Argument: | sorted: | Symbol |
If the index1 is present and is the symbol sorted, the current key
value bindings are assumed to exist in binary unique ascending sorted order. |
---|
Argument: | key | Symbol |
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. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Structure.
|
---|
Expression: |
(setq struct unsorted: key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Structure |
The Structure to be modified. |
---|
Argument: | unsorted: | Symbol |
If the index1 is present and is the symbol unsorted, the current key
value bindings are assumed NOT to exist in binary unique ascending sorted order. |
---|
Argument: | key | Symbol |
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. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Structure.
|
---|
Expression: |
Strong Typed:
(setDicValue aDic index newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | aDic | Dictionary |
The Dictionary to be modified. |
---|
Argument: | index | Integer |
If the index is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to replace the old value. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
Strong Typed:
(setDicKey aDic index newKey)
|
Arguments |
Name |
Type |
Description |
Argument: | aDic | Dictionary |
The Dictionary to be modified. |
---|
Argument: | index | Integer |
If the index is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | newKey | Symbol |
The new key to replace the old key. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(set dict key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | dict | Dictionary |
The Dictionary to be modified. |
---|
Argument: | key | Symbol |
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. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Dictonary.
|
---|
Expression: |
(set dict index1 newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | dict | Dictionary |
The Dictionary to be modified. |
---|
Argument: | index1 | Integer |
If the index is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to replace the old value. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(setq struct index1 index2 newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Structure |
The Structure to be modified. |
---|
Argument: | index1 | Integer |
If the index1 is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | index2 | Integer |
If equal to 0 then the newValue argument is to modify the Key. If equal to 1 then
the newValue argument is to modify the old value. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to modify either the old key or the old value. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(setq dict last: key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | dict | Dictionary |
The Dictionary to be modified. |
---|
Argument: | last: | Symbol |
If the index1 is present and is the symbol last, a new binding
will be added after the last index position. |
---|
Argument: | key | Symbol |
The key for the new binding. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(setq dict sorted: key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Dictionary |
The Dictionary to be modified. |
---|
Argument: | sorted: | Symbol |
If the index1 is present and is the symbol sorted, the current key
value bindings are assumed to exist in binary unique ascending sorted order. |
---|
Argument: | key | Symbol |
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. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(setq dict unsorted: key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | dict | Dictionary |
The Dictionary to be modified. |
---|
Argument: | unsorted: | Symbol |
If the index1 is present and is the symbol unsorted, the current key
value bindings are assumed NOT to exist in binary unique ascending sorted order. |
---|
Argument: | key | Symbol |
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. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
Strong Typed:
(setDirValue aDir index newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | aDir | Directory |
The Directory to be modified. |
---|
Argument: | index | Integer |
If the index is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to replace the old value. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
Strong Typed:
(setDicKey aDic index newKey)
|
Arguments |
Name |
Type |
Description |
Argument: | aDic | Dictionary |
The Dictionary to be modified. |
---|
Argument: | index | Integer |
If the index is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | newKey | Symbol |
The new key to replace the old key. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(set dict key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | dict | Dictionary |
The Dictionary to be modified. |
---|
Argument: | key | Symbol |
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. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Dictonary.
|
---|
Expression: |
(set dict index1 newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | dict | Dictionary |
The Dictionary to be modified. |
---|
Argument: | index1 | Integer |
If the index is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to replace the old value. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(setq struct index1 index2 newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Structure |
The Structure to be modified. |
---|
Argument: | index1 | Integer |
If the index1 is present and numeric, it will identify the integer index
position to modify. |
---|
Argument: | index2 | Integer |
If equal to 0 then the newValue argument is to modify the Key. If equal to 1 then
the newValue argument is to modify the old value. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to modify either the old key or the old value. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(setq dict last: key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | dict | Dictionary |
The Dictionary to be modified. |
---|
Argument: | last: | Symbol |
If the index1 is present and is the symbol last, a new binding
will be added after the last index position. |
---|
Argument: | key | Symbol |
The key for the new binding. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(setq dict sorted: key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | struct | Dictionary |
The Dictionary to be modified. |
---|
Argument: | sorted: | Symbol |
If the index1 is present and is the symbol sorted, the current key
value bindings are assumed to exist in binary unique ascending sorted order. |
---|
Argument: | key | Symbol |
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. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(setq dict unsorted: key newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | dict | Dictionary |
The Dictionary to be modified. |
---|
Argument: | unsorted: | Symbol |
If the index1 is present and is the symbol unsorted, the current key
value bindings are assumed NOT to exist in binary unique ascending sorted order. |
---|
Argument: | key | Symbol |
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. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex |
The new value to be bound along with the key. |
---|
Returns: |
Returns an updated Dictionary.
|
---|
Expression: |
(setq aRecord fieldIndex {rowIndex} newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | aRecord | Brick |
The Brick to be referenced. |
---|
Argument: | fieldIndex | Integer Symbol |
The field index of a field in the Brick
(must be either a field name or an integer index of the field). |
---|
Argument: | rowIndex | Integer |
(Optional) The row index of the specified record in the record
(the first row is always index zero). |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value to be saved in the specified field |
---|
Returns: |
Returns the altered Brick object.
|
---|
Expression: |
(setq aBrick fieldIndex number {rowIndex} newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | aRecord | Brick |
The Brick to be referenced. |
---|
Argument: | fieldIndex | Integer Symbol |
The field index of a field in the Brick
(must be either a field name or an integer index of the field). |
---|
Argument: | number | Integer |
The field repeat index of the specified field in the record
(the first repeat is always index zero). |
---|
Argument: | rowIndex | Integer |
(Optional) The row index of the specified record in the record
(the first row is always index zero). |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value to be saved in the specified field |
---|
Returns: |
Returns the altered Brick object.
|
---|
Expression: |
(setq matrix index newValue )
|
Arguments |
Name |
Type |
Description |
Argument: | matrix | Matrix |
The Matrix to be referenced. |
---|
Argument: | index | Integer |
The index or index list of element to be set. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value that will occupy the location Matrix[index] |
---|
Returns: |
Returns an updated Matrix.
|
---|
Expression: |
(setq list index newValue )
|
Arguments |
Name |
Type |
Description |
Argument: | list | List |
The list to be modified |
---|
Argument: | index | Integer |
The index of element to be setq. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value that will occupy the location List[index] |
---|
Returns: |
Returns an updated List
|
---|
Expression: |
(setq anLambda.LambdaVariable newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | anLambda | Lambda |
The name of an Lambda. |
---|
Argument: | . | --- |
Mandatory period operator. |
---|
Argument: | LambdaVariable | Symbol |
The new value for the Lambda persistent variable. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value for the Lambda persistent variable. |
---|
Returns: |
Returns an updated List
|
---|
Expression: |
(setq target newValue)
(setq (ref target index1) newValue)
(setq (ref target index1 index2) newValue)
(setq (ref target index1 index2 index3) newValue)
|
Arguments |
Name |
Type |
Description |
Argument: | target | ObjectRepository |
The target Object Repository. |
---|
Argument: | index1 | Integer |
(Optional) A target variable index. |
---|
Argument: | index2 | Integer |
(Optional) A target variable index. |
---|
Argument: | index3 | Integer |
(Optional) A target variable index. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value for the Lambda persistent variable. |
---|
Returns: |
The result of setq depends upon the type of object in the target variable.
|
---|
Expression: |
(setq obj newValue )
|
Arguments |
Name |
Type |
Description |
Argument: | obj | Void Boolean Character Number Date |
Must be a native data type object. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value to be placed in {obj}. |
---|
Returns: |
Returns the {obj} which contains a new value.
|
---|
Expression: |
(setq obj newValue )
|
Arguments |
Name |
Type |
Description |
Argument: | obj | Void Boolean Character Number Date |
Must be a native data type object. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value to be placed in {obj}. |
---|
Returns: |
Returns the {obj} which contains a new value.
|
---|
Expression: |
(setq obj newValue )
|
Arguments |
Name |
Type |
Description |
Argument: | obj | Void Boolean Character Number Date |
Must be a native data type object. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value to be placed in {obj}. |
---|
Returns: |
Returns the {obj} which contains a new value.
|
---|
Expression: |
(setq obj newValue )
|
Arguments |
Name |
Type |
Description |
Argument: | obj | Void Boolean Character Number Date |
Must be a native data type object. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value to be placed in {obj}. |
---|
Returns: |
Returns the {obj} which contains a new value.
|
---|
Expression: |
(setq obj newValue )
|
Arguments |
Name |
Type |
Description |
Argument: | obj | Void Boolean Character Number Date |
Must be a native data type object. |
---|
Argument: | newValue | Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean |
The new value to be placed in {obj}. |
---|
Returns: |
Returns the {obj} which contains a new value.
|
---|
Examples
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Argument Types
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.
|
Analytic Information Server (AIS)
AIS Component Systems
- Smartbase Engine
- QT C++ Libraries
- MySQL Relational Database
- AIS Lisp Libraries
- Rapid Analytic Demo IDE
|