Control Primitives
Nodes¶
| Primitive | Description |
|---|---|
| Define | Operator x:=y, creates a new node |
| Value Of | Operator ?x, value assigned to a constant |
| About the Var Statement | Variable declaration |
| void | Operator void x, discards an expression's value |
| show | Definition or formula used to create a node |
| exists | Tests for the existence of a node |
| dtype | Data type identifier (number, text, etc.) |
| typeof | Operator typeof x, returns the data type of x |
| reset | Marks all constants as unevaluated |
| clear | Sets the value of a node to null |
| rename | Renames a node |
| remove | Removes a node from memory |
| topsheet | Name of the displayed sheet |
| include | Imports library functions into the active application |
| component | Loads a library component |
| arguments | List of all argument values in the active function |
| argval | Value of a specific argument in the active function |
| length | Length of a list, characters in a string, or arguments in a function |
| comment | Comment text attached to a node |
| dialogtemplate | HTML form text attached to a node |
Node Lists¶
| Primitive | Description |
|---|---|
| all | List of all node names |
| children | List of all nodes called directly by a node |
| treelist | List of all nodes called directly and indirectly by a node |
| branchoptions | List of child nodes to the active branch node |
| rootnode | Name of the root node in the active tree |
| selectednode | Name of the selected tree node(s) |
| activenode | Name of the node currently executing |
| endnodes | Name of all end nodes in a tree or branch |
| inputs | List of all nodes declared as inputs |
| outputs | List of all nodes declared as outputs |
| this | Pointer to the currently executing object |
File¶
| Primitive | Description |
|---|---|
| open | Opens a new document file |
| close | Closes the active document |
| exit | Closes all documents and terminates the main application |
| save | Saves the current document to a file |
Application Settings¶
| Primitive | Description |
|---|---|
| version | This program's version number |
| hostipaddress | IP address of the computer executing a script |
| precision | Sets the precision for approximated functions |
| redunits | Identifies a constant as a reduction unit |
Document Objects¶
| Primitive | Description |
|---|---|
| document | List of sheets and nodes in the current document |
| insertdatasheet | Create a new Data Table sheet |
| insertdiagramsheet | Create a new Diagram sheet |
| insertgraph | Create a new Graph sheet |
| insertgraph3 | Create a new Surface Plot sheet |
| insertreportsheet | Create a new Report sheet |
| inserttable | Create a new Presentation Table sheet |
| inserttextsheet | Create a new Text Sheet |
| inserttreesheet | Create a new Tree Sheet |