Table of Contents

Reserved Characters

Several characters are reserved in the syntax for expressions. Because these reserved characters are interpreted by Visual3D's expression parser, a special notation is required to indicated that these characters should be used literally.

Ampersand

AMP = &

For example, if the desired pipeline command were as follows:

Select_Active_File
/FILE_NAME=ALL_FILES
/QUERY= TAG1 & TAG2
;

If the tags TAG1 and TAG2 exist then all files that have been assigned both tags will be active. If, however, we want to use pipeline parameters in place of the text TAG1 and TAG2, we have a problem because there is no way to stop Visual3D from using the & character to concatenate the text. The solution was to introduce a reserved parameter ::AMP. The following pipeline would result:

Set_Pipeline_Parameter
/PARAMETER_NAME=A
/PARAMETER_VALUE=TAG1
;

Set_Pipeline_Parameter
/PARAMETER_NAME=B
/PARAMETER_VALUE=TAG2
;

Select_Active_File
/FILE_NAME=ALL_FILES
/QUERY= ::A&::AMP&::B
;

and this would result in Visual3D interpreting the query: /QUERY=TAG1 & TAG2. More examples of using the AMP operator can be found here.

Colon

COLON = :

The “:” character is used through the pipeline and expression syntax, notably when specify a signal in the data tree.

Semicolon

SEMICOLON = ;

The “;” character is parsed to indicate the end of a pipeline command.

Plus Sign

PLUS = +

The “+” character is parsed to indicate concatenation of list items.

Forward Slash

FSLASH = /

The “/” character is parsed to indicate the beginning of a pipeline command parameter.

Space Character

SPACE=" "

The parser ignores space characters by default.