![]() |
![]() |
![]() |
![]() |
CONSTANT Statement
Description:
This statement defines a variable which has a static value in a script. They may thus be translated at compilation time, and not consume memory at run-time.
The value of a constant may be an integer value or a quoted character string.
Constants can be used in any situation where a literal of the same type (i.e. character or integer) can be used, for example in a value list. The only constraint is that the constant must have been defined before it is used.
Format:
CONSTANT name = valueParameters:
name
The name of the constant. This must be a valid OpenSTA Dataname.
value
A quoted character string or an integer value.
Examples:
CONSTANT TRUE = -1 CONSTANT PROMPT = 'Enter Value : ' CONSTANT SEARCHSTRING = ' "TERMINATE" '
CYRANO Customer Support: France +33 (0) 1 56 33 40 00 USA +1 (978) 462-0737; Toll free 800-714-4900 UK +44 (0) 1274 761024 support-fr@cyrano.com support-us@cyrano.com support-uk@cyrano.com |
![]() |
![]() |
![]() |
![]() |