|
new
|
The new function creates an instance of a Structure. The new function
returns a new Structure object which is formed with the specified bindings
(key: value) and with the optional cdr value. Each binding {key: value} is a quoted
symbol followed by a value. There may be zero or more bindings specified. The
optional cdr value is preceded by the period special character
Use the new function whenever you wish to create a new instance of a structure.
(new Structure: key value ...) (new Structure: key value ... . cdrvalue) A 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.
Name
Description
AIS Types Structure: Mandatory keyword --- key: (optional argument, repeating) a symbolic key (the name part, or key,
of the Structure binding) Symbol value If key is present, should be a value which will be paired with the preceding
symbolic key. Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean . (optional) period --- cdrvalue cdr Value (tail) should be present if the period is present ---
Returns:
Examples
Argument Types
How do I contact the AIS team?