DSM Template Services Manual
Display-Text Procedures
DSM Template Services Manual—427187-004
2-21
Custom-Formatting Procedures
string-format
INT:value
specifies which characters are printable so convert-proc can check the
characters in the string values it produces:
context
INT .EXT:ref:10
points to a context area. See Context Area on page 2-22.
external-value:maxlen
STRING .EXT:ref:*, INT:value
points to the area where convert-proc places the external representation of
internal-value and gives the length of that area, in bytes. maxlen is always
at least 100 bytes. If an error prevents conversion, the area should be left
unchanged.
len
INT .EXT:ref:1
points to a variable to receive the actual length, in bytes, of the external value. If an
error prevents conversion, the length variable should be left unchanged.
status-1
INT .EXT:ref:1
supplements status on page 2-20. For a list of values, see Supplementary Status
Values on page 2-18.
status-2
INT .EXT:ref:1
0 Leave formatting decisions to convert-proc
2 Use base 2
8 Use base 8
10 Use base 10
16 Use base 16
0 Character codes 32 through 126
-1 Character codes 32 through 255
-2 All character codes










