DSM Template Services Manual
Display-Text Procedures
DSM Template Services Manual—427187-004
2-3
SPI_BUFFER_FORMATSTART_
format-ID
INT .EXT:ref:1
points to a variable that receives a format ID, a code this procedure returns to
identify its internal storage.
numeric-format
INT:value
is one of these numeric codes:
These codes specify the base that SPI_BUFFER_FORMATNEXT_ uses when
representing numeric tokens or fields. The positive codes indicate a default display
base, to be used only if the DDL DISPLAY attribute for the token or field is missing.
The negative codes indicate a display base to be used regardless of any DISPLAY
attribute. The field width in any DISPLAY attribute is also ignored.
string-format
INT:value
specifies which characters are printable:
This ensures that unprintable characters, which might be printer-control characters,
are not returned and sent to a printer. Unprintable characters are represented as
?nnn, where nnn is represented in the base indicated by numeric-format.
-14 A Guardian procedure error; see status-1 and status-2
-15 Invalid template file; see status-1 and status-2
-27 No free format ID available
0 Use decimal as a default.
2 Use binary as a default.
8 Use octal as a default.
10 Use decimal as a default.
16 Use hexadecimal as a default.
-2 Use binary regardless.
-8 Use octal regardless.
-10 Use decimal regardless.
-16 Use hexadecimal regardless.
0 Character codes 32 through 126
-1 Character codes 32 through 255
-2 All character codes