Guardian Procedure Calls Reference Manual
MBCS_FORMAT_CRT_FIELD_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Summary
The MBCS_FORMAT_CRT_FIELD_ procedure formats Kanji only or mixed data types for specific
terminal types.
Syntax for C Programmers
#include <cextdecs(MBCS_FORMAT_CRT_FIELD_)>
short MBCS_FORMAT_CRT_FIELD_ ( __int32_t *source-string
,__int32_t *destination-string
,short source-length
,short maximum-length
,short intermediate
,short terminal-type
,short last-column
,short *max-data-size
,short *screen-start-col
,[ char *shift-to-MBCS ]
,[ char *shift-to-one-byte ]
,[ short startmode ] );
Syntax for TAL Programmers
error-code := MBCS_FORMAT_CRT_FIELD_ ( source-string ! i,o
,destination-string ! i,o
,source-length ! i
,maximum-length ! i
,intermediate ! i
,terminal-type ! i
,last-column, ! i
,max-data-size ! i,o
,screen-start-col ! i,o
,[ shift-to-MBCS ] ! i
,[ shift-to-one-byte ] ! i
,[ startmode ] ); ! i
Parameters
source-string
input, output
INT(32) .EXT:ref:1
is the address of an extended address pointer to the source text string to be formatted. Upon
return from the format function, this pointer points to the first unformatted byte in the source
string. When the entire source string has been formatted, this pointer points to the position
beyond the last byte of the source string.
802 Guardian Procedure Calls (M)