Object Declarations

Syntax

ObjectDeclaration =
     BoxDeclaration | VectorDeclaration | StringDeclaration |
     TableDeclaration | ChannelDeclaration.

BoxDeclaration      = "$box"       { ReferenceName } ";".
VectorDeclaration   = "$vector"    { ReferenceName } ";".
StringDeclaration   = "$string"    { ReferenceName } ";".
TableDeclaration    = "$table"     { ReferenceName } ";".
ChannelDeclaration  = "$channel"   { ReferenceName } ";".

Purpose

An object declaration associates symbolic names with references to boxes, vectors, strings, tables, and channels. These objects are to be created at the moment the program is loaded.

The symbolic names introduced by an object declaration may be used for getting references to the objects declared.

Thus, the declaration $box X; makes the construct &X denote a reference to a box.

Examples

$box B1 B2 B3;
$vector V1 V2;
$table T1 T2;
$channel Input Output;
Related concepts
Static and Dynamic Symbols
Reference Names