Skip to content

Square brackets [ ]

To enter square brackets [ ] into the command line press [ or ].

Square brackets [ ] are used in macros. For more information see macros.

Using square brackets in macros sets a conditional expression which has to have the solution “True” to be able to execute the following commands. The expression takes user defined variables and logical operators.

a==ba equals b
a>ba greater than b
a<ba less than b
a<=ba less than or equals b
a>=ba greater than or equals b

Important:
The two arguments a and b are treated as text strings and not as numbers – character by character. For example “61” is considered to be greater than “599”, as 6 is greater than 5.

  • To turn off page 3 only if $myvar equals 5, type into the macro line:

[$myvar==5]Off Page 3


  • To goto Cue 1 if $var is less than 5, and goto Cue 35 if $var is greater or equals 5, type into the macro line:

Goto Cue [$var<5]1 [$var>=5]35