Simulation Command Reference : Rational Statemate Actions : VARIABLE

VARIABLE

The VARIABLE statement is the SCP file section used to define variables.

Syntax:
variable
[ [ global] integer id [:=integer_val] [, id := integer_val . . .] ; ]
where id is the name of the integer constant and integer_val is its initial value
[[global] string id [:= “ext” [, id := “text”. . . ] ; ]
where id is the name of the string constant and text is its initial value
[[global] float id [:= real_val] [, id:=real_val . . . ] ; ]
where id is the name of the real constant and real_val is its initial value
[[global] file id [ ,id . . . ] ; ]
where id is the name of the file variable
[[global] BOOLEAN id [, id . . . ] ; ]
where id is the name of the Boolean variable