Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-249
FORMATDATA[X] Procedure
datatype
is the type and scale factor of the element:
bits
<8:15>:
0String
1 Numeric string unsigned
2 Integer(16) signed
3 Integer(16) unsigned
4 Integer(32) signed
5 Integer(32) unsigned
6 Integer(64) signed
7 Not used
8 Real(32)
9 Complex(32*2)
10 Real(64)
11 Complex(64*2)
12 Numeric string, sign trailing, embedded
13 Numeric string, sign trailing, separate
14 Numeric string, sign leading, embedded
15 Numeric string, sign leading, separate
16 Not used
17 Logical * 1 (1 byte)
18 Not used
19 Logical * 2 (INT(16))
20 Not used
21 Logical * 4 (INT(32))
22 Integer(8) signed
23 Integer (8) unsigned
bits
<0:7> Scale factor moves the position of the implied decimal point by
adjusting the internal representation of the expression. Scale
factor is the number of positions that the implied decimal point is
moved to the left (factor > 0) or to the right (factor <= 0) of the least
significant digit. This value must be 0 for data types 0, 17, 19, and
21.
databytes
is the size, in bytes, of the variable or array element used to determine the size
of strings and address spacing.
dataoccurs
is the number of elements in the array nullptr (supply 1 for undimensioned
variables).
If <> 0, it is the byte address of the null value. If = 0, there is no null value for
this variable.
Note. Data types 7 through 11 require floating-point firmware.