Toshiba STE 58762 Welding System User Manual


 
STE 58762
2-29
(2) Global variable declaration by type
To define the global variable of each type, use the following formats.
Integer type: A = 1
Real number type: B = 1.0
Position type: C = POINT (1.0, 2.0, 3.0, 4.0, 5.0, 1)
Array type: DIM D(10) AS INT Array of ten integer type elements is
defined. (Note 1)
DIM E(10, 3) AS REAL Array of 10 × 3 real number type elements
is defined.
DIM F(5) AS POINT Array of five position type elements is
defined.
Note 1: The initial value of the array type global variable is indefinite. The variable is required to
be initialized by the user program.