|
setAttributes
|
The setAttributes function sets the attributes of the argument {vector}
to the value of the specified object vector {objectVector}, and returns the
updated Vector. When a Vector is attributed, it may be referenced by attribute
(similar in many ways to a Structure). If the attributes are set to Void
(objectVector = #void) then the Vector is returned unattributed.
When to use The setAttributes function is used to set the attributes of a {vector}
to the specified {objectVector}, allowing the Vector to be accessed via the
attributes. Alternatively, the {vector} argument may be a block of Vectors
(an ObjVector, a Structure, or a Dictionary of Vectors). In this case, the
setAttributes function will set the attributes of all Vectors contained in the
block.
(setAttributes vector objectVector) The attributed Vector.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Example_Directory_setAttributes_003
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 vector A Vector Vector objectVector An object vector containing new attributes or #void ObjVector
Returns:
Examples
Argument Types
Integer
Vector
How do I contact the AIS team?