Guardian Procedure Calls Reference Manual

destination-string
input, output
INT(32) .EXT:ref:1
is the address of an extended address pointer to the location to receive the formatted text string.
Upon return from the format function, this pointer points to the first unfilled byte in the destination
string.
source-length
input
INT:value
is the length, in bytes, of the source text string.
maximum-length
input
INT: value
is the maximum allowable number of bytes of space usable in the output destination string.
intermediate
input
INT:value
is a logical flag indicating the desired format of the translated data string.
When TRUE, the translated destination CRT field is in pre-EBCDIC format. This is an intermediate
form which yields the final EBCDIC data format after passing the HP standard ASCII/EBCDIC
translation routine. This is the normal form to use for formatting CRT fields which are then
displayed through the HP SNAX access method.
When FALSE, the translated destination CRT field is in final EBCDIC format upon completion
of this procedure.
terminal-type
input
INT:value
indicates the terminal type to receive the formatted data:
Fujitsu F-6650/F-6680 with lowercase alphabet4
Fujitsu F-6650/F-6680 with one-byte Katakana5
IBM character attribute device with lowercase alphabet11
IBM character attribute device with one-byte Katakana12
last-column
input
INT:value
indicates the width in columns of the display device.
max-data-size
input, output
INT .EXT:ref:1
on input, contains an integer indicating the maximum number of displayable characters that
can be held by the destination screen field. This value does not include the attribute byte.
On output, contains the byte count (length) of the translated data in the destination CRT field.
MBCS_FORMAT_CRT_FIELD_ Procedure 803