CUE Design Director Script Language User Manual

Page 13

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 13 of 94

Iexpression needs to be entered after the parameter value when the macro, whose parameter is called
by a reference, is called. When the changes of parameter value in the macro are performed, the exact
same changes will appear in Iexpression entered after the parameter.

Declaration of parameter called by a value - ParamByVal

Designed syntax:

ParamByVal <parameter name> <type name> [* <declared type length>]

: where

<parameter name> - name of the declared parameter

<type name> - name of the type of the declared parameter. Type names are uint, string or any

name from object types

<declared type length> - the length is mentioned for variable type string only

If the macro is called whose parameter is called by a value, it is possible to insert any expression in place
of the parameter value. When the changes of parameter value in the macro are performed no changes
will apply in variable in the original expression.

Declaration of local variable - Dim

Designed syntax:

Dim < variable name> <type name> [* <declared length type>]

; where

<type variable> - name of the declared variable

• <type name> - type name of the declared variable. Type are uint, string names are uint, string or

any name from type of objects

<declared type length> - it is mentioned in variables type string only. It declares the size of the

storage space for the given variable.

Declaration of static variable - Static

Designed syntax:

Static <variable name> <type name> [* declared type length]

; where

<variable name> - name of the declared variable

<type name> - type name of the declared variable. Type are uint, string or any name from

object types

<declared type length> - it is mentioned in variables type string only. It declares the size of the

storage space for the given variable.

The static variable corresponds to static variables in Visual Language (declared by Static command). In
Visual Basic the Global variables are additionally declared (i.e. visible from everywhere, they keep the
same value), here are not supported.

Advertising