Guardian Programming Reference Summary for C
Functions Summary (G-N)
Guardian Programming Reference Summary for C—522630-001
6-22
MBCS_FORMAT_CRT_FIELD
Formats Kanji-only or mixed data types for specific terminal types.
return value:
terminal-type
#include <cextdecs(MBCS_FORMAT_CRT_FIELD_)>
short MBCS_FORMAT_CRT_FIELD_ ( long *source-string /* i,o */
,long *destination-string /* i,o */
,short source-length /* i */
,short maximum-length /* i */
,short intermediate /* i */
,short terminal-type /* i */
,short last-column /* i */
,short *max-data-size /* i,o */
,short *screen-start-col /* i,o */
,[ char *shift-to-MBCS ] /* i */
,[ char *shift-to-one-byte ] /* i */
,[ short startmode ] ); /* i */
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
4 = Fujitsu F-6650 with lowercase alphabet
5 = Fujitsu F-6650 with one-byte Katakana