Guardian Procedure Calls Reference Manual
MBCS_ANY_KATAKANA_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Summary
The MBCS_ANY_KATAKANA_ procedure checks a string of HP Kanji characters for any Katakana
characters. Katakana one-byte characters are permitted in a string of HP Kanji characters.
Syntax for C Programmers
#include <cextdecs(MBCS_ANY_KATAKANA_)>
short MBCS_ANY_KATAKANA_ ( char *buffer
,short length
,[ short charset ] );
Syntax for TAL Programmers
result := MBCS_ANY_KATAKANA_ ( buffer ! i
,length ! i
,[ charset ] ); ! i
Parameters
buffer
input
STRING .EXT:ref:*
is the string to be tested for Katakana characters. The buffer pointer is not moved or changed
by the MBCS_ANY_KATAKANA_ procedure.
length
input
INT:value
is the number of bytes in the buffer string. The MBCS_ANY_KATAKANA_ procedure tests only
the number of bytes specified in the length parameter and does not access the area beyond
buffer[length - 1].
charset
input
INT:value
identifies the multibyte character set (MBCS) to be used. If charset is omitted or null, the
default MBCS character set identifier returned from the MBCS_DEFAULTCHARSET_ procedure
is used. The presence of Katakana characters is not valid in conjunction with any MBCS other
than HP Kanji.
Any value may be specified; however, the returned result will always be 0 if 1 (for HP Kanji)
is not specified.
784 Guardian Procedure Calls (M)