Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (G-N)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
6-29
MBCS_FORMAT_CRT_FIELD
Formats Kanji only or mixed data types for specific terminal types.
error-code := MBCS_FORMAT_CRT_FIELD_ (
source-string
,destination-string
,source-length
,maximum-length
,intermediate
,terminal-type
,last-column,
,max-data-size
,screen-start-col
,[ shift-to-DBCS ]
,[ shift-to-one-byte ]
,[ startmode ] );
error-code, INT:value returned value
0 Successful completion of the translation
-1 Source string translation incomplete, ran out of destination buffer area or ran out of
space in the screen field
-2 Unknown terminal type specified
-3 Invalid source string length
-4 Invalid character in Kanji only source string
-5 Control string parameter too long
-6 Source string translation incomplete, ran out of room in screen field
29 Parameter missing
source-string, INT(32) .EXT:ref:1 input, output
destination-string, INT(32) .EXT:ref:1 input, output
source-length, INT:value input
maximum-length, INT:value input
intermediate, INT:value input
terminal-type, INT:value input
4 Fujitsu F-6650 with lowercase alphabet
5 Fujitsu F-6650 with one-byte Katakana