Using Aliases
Note:
@SecondsPerMinute
Aliases may also be used to create a complicated expression such as
@HYPOTENUSEsqrt(Opposite
Adjacent) 'Calculates length of Hypotenuse
This can be used in a script in the following way:
Opposite = 8.45
Adjacent = 9.756
length = @HYPOTENUSE
where Opposite, Adjacent and length are all REAL points.
Changing an alias definition after it has been used in an expression or script
will not automatically change the result in the script. The appropriate script or
expression where that alias is used must be accessed and recompiled by
pressing the OK button in order to apply the changes.
SECTION 4 CX-Supervisor Script Language
= 60
' sets duration
*
Opposite
+
Adjacent
*
35