Guardian Procedure Calls Reference Manual

EDIT item mismatch.271
Invalid input character.272
Bad format.273
Numeric overflow.274
Considerations
A passed P-relative iformat array must be in the same code segment as the call.
variable-list array form
The four- to seven-word entry for each array or variable consists of these items:
Word FORMATDATA Contents FORMATDATAX Contents
+--------------------+ +----------------------+
[0] | dataptr | | |
---------------------| |- dataptr -|
[1] | datatype | | |
---------------------| |----------------------|
[2] | databytes | | datatype |
|--------------------| |----------------------|
[3] | dataoccurs | | databytes |
|--------------------| |----------------------|
[4] | nullptr (optional)| | dataoccurs |
+--------------------+ |----------------------|
[5] | |
|- nullptr (optional) -|
[6] | |
+----------------------+
dataptr
is the address of the array or variable. For FORMATDATA, dataptr is a byte address
for data types 0, 1, 12-15, and 17, and is a word address for other types. For
FORMATDATAX, dataptr is an extended address.
datatype
is the type and scale factor of the element:
bits <8:15>:
String0
Numeric string unsigned1
Integer(16) signed2
Integer(16) unsigned3
Integer(32) signed4
Integer(32) unsigned5
Integer(64) signed6
Not used7
Real(32)8
Complex(32*2)9
Real(64)10
Complex(64*2)11
Numeric string, sign trailing, embedded12
Numeric string, sign trailing, separate13
Numeric string, sign leading, embedded14
FORMATDATA[X] Procedures 635