Executive commands – CUE Design Director Script Language User Manual
Page 14
![background image](/files/768537/content/doc014.png)
Reference Manual Design Director Script Language
www.cuesystem.com
Page 14 of 94
2.4.2.
Executive Commands
The executive commands perform changes in the virtual world of touch panels. Two commands are
designed – value assignment into a variable/parameter/property and macro/method/event calling.
The own execution of changes in the virtual world is taken care of by semantics either called by a
method or by property change.
Assignment – Set
Designed syntax:
Set <variable/parameter/property name> <expression>
; where
• <variable/parameter/property name> - property or parameter name declared in macro. Dealing
with the property name can be fully dereferred (i.e. object name, respectively variable name) – it
is always Iexpression. When errors during the process of dereference occur, if the value is for
reading only, an error will be generated and the variable/parameter/property value will remain
unchanged.
• <expression> - it is an expression whose value after the data evaluation are checked whether is
same as variable/parameter/property type and if everything is all right, and hands over into a
variable/parameter/property. When an error during the value evaluation occurs, an error will be
generated and the variable/parameter/property value will remain unchanged.
Calling – Call
Designed syntax:
Call < macro/method/event name> <parameter list>
; where
• <macro/method/event> - global macro name or method/event name – in case of method / event
it can be a full dereference of method/event (i.e. object name, respectively variable name). To
be exact it is always expression type callable. When errors during the process of dereference
occur, errors will be generated.
• <parameter list> - comma separated expressions that are paired with method/event macro. The
number of expressions and parameters as well as the types has to correspond, if it is not this
way, an error will be generated.