  | 
		
HP OpenVMS/Hanzi RTL Chinese Processing (HSY$)
Manual
 
 
 
HSY$IS_DESCRIPTION
 
HSY$IS_DESCRIPTION checks if the input character is a multi-byte local
language punctuation (excluding parenthesis, bracket and quote).
 
 
Format
HSY$IS_DESCRIPTION chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not a multi-byte local language punctuation
      (excluding parenthesis, bracket and quote).
     | 
   
  
    | 
      1 -
     | 
    
      The input character is a multi-byte local language punctuation
      (excluding parenthesis, bracket and quote).
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_DIGIT
 
HSY$IS_DIGIT checks if the input character is a one-byte or multi-byte
numeric digit.
 
 
Format
HSY$IS_DIGIT chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not a digit symbol.
     | 
   
  
    | 
      1 -
     | 
    
      The input character is a digit symbol.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer(unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_GENERAL
 
HSY$IS_GENERAL checks if the input character is a multi-byte general
symbol character (that does not belong to any of the above catagories).
 
 
Format
HSY$IS_GENERAL chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not a multi-byte general symbol character.
     | 
   
  
    | 
      1 -
     | 
    
      The input character is a multi-byte general symbol character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_GREEK
 
HSY$IS_GREEK checks if the input character is a multi-byte Greek letter.
 
 
Format
HSY$IS_GREEK chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not a multi-byte Greek letter.
     | 
   
  
    | 
      1 -
     | 
    
      The input character is a multi-byte Greek letter.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_HIRAGANA
 
HSY$IS_HIRAGANA checks if the input character is a multi-byte Japanese
Hiragana character.
 
 
Format
HSY$IS_HIRAGANA chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
       The input character is not a Hiragana character.
     | 
   
  
    | 
      1 -
     | 
    
       The input character is a Hiragana character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_IDEOGRAPH
 
HSY$IS_IDEOGRAPH checks if the input multi-byte character is an
ideographic multi-byte character (excluding all multi-byte Roman,
Greek, Russian letters, Japanese characters and all multi-byte symbols)
 
 
Format
HSY$IS_IDEOGRAPH chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not an ideographic multi-byte character.
     | 
   
  
    | 
      1 -
     | 
    
      The input character is an ideographic multi-byte character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_KANA
 
HSY$IS_KANA checks if the input character is a multi-byte Japanese Kana
character.
 
 
Format
HSY$IS_KANA chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
       The input character is not a Kana character.
     | 
   
  
    | 
      1 -
     | 
    
       The input character is a Kana character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
Japanese Kana characters can either be Hiragana or Katakana characters.
 
  
HSY$IS_KATAKANA
 
HSY$IS_KATAKANA checks if the input character is a multi-byte Japanese
Katakana character.
 
 
Format
HSY$IS_KATAKANA chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not a Katakana character.
     | 
   
  
    | 
      1 -
     | 
    
      The input character is a Katakana character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_LEFT_PARENTHESIS
 
HSY$IS_LEFT_PARENTHESIS checks if the input character is a multi-byte
left parenthesis symbol character.
 
 
Format
HSY$IS_LEFT_PARENTHESIS chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
       The input character is not a multi-byte left parenthesis symbol
       character.
     | 
   
  
    | 
      1 -
     | 
    
       The input character is a multi-byte left parenthesis symbol character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_LINE_DRAWING
 
HSY$IS_LINE_DRAWING checks if the input character is a multi-byte line
drawing symbol character.
 
 
Format
HSY$IS_LINE_DRAWING chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not a multi-byte line drawing symbol character.
     | 
   
  
    | 
      1 -
     | 
    
      The input character is a multi-byte line drawing symbol character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_LOWER
 
HSY$IS_LOWER checks if the input character is a lower case Greek,
Russian or Roman letter.
 
 
Format
HSY$IS_LOWER chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not a lower case letter character.
     | 
   
  
    | 
      1 -
     | 
    
      The input character is a lower case letter character.
     | 
   
 
Note that letter character here means one of the following:
 
  
    | 
      (1)
     | 
    
      one-byte English letter
     | 
   
  
    | 
      (2)
     | 
    
      multi-byte English letter
     | 
   
  
    | 
      (3)
     | 
    
      multi-byte Greek letter
     | 
   
  
    | 
      (4)
     | 
    
      multi-byte Russian letter
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_NO_FIRST
 
HSY$IS_NO_FIRST checks if the input character is a multi-byte "NO
FIRST" character.
 
 
Format
HSY$IS_NO_FIRST chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
       The input character is not a multi-byte "NO FIRST" character.
     | 
   
  
    | 
      1 -
     | 
    
       The input character is a multi-byte "NO FIRST" character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
"NO FIRST" multi-byte characters include right parenthesis, right
bracket, right quote as well as some multi-byte punctuations that
should not appear at the start of a line.
 
  
HSY$IS_NO_LAST
 
HSY$IS_NO_LAST checks if the input character is a multi-byte "NO-LAST"
character.
 
 
Format
HSY$IS_NO_LAST chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
       The input character is not a multi-byte "NO LAST" character.
     | 
   
  
    | 
      1 -
     | 
    
       The input character is a multi-byte "NO LAST" character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
"NO LAST" multi-byte characters include left parenthesis, left bracket
and left quote.
 
  
HSY$IS_PARENTHESIS
 
HSY$IS_PARENTHESIS checks if the input character is a multi-byte
parenthesis symbol character.
 
 
Format
HSY$IS_PARENTHESIS chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
       The input character is not a multi-byte parenthesis symbol character.
     | 
   
  
    | 
      1 -
     | 
    
       The input character is a multi-byte parenthesis symbol character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
Multi-byte parenthesis symbols include left and right multi-byte
parentheses.
 
  
HSY$IS_RIGHT_PARENTHESIS
 
HSY$IS_RIGHT_PARENTHESIS checks if the input character is a multi-byte
right parenthesis symbol character.
 
 
Format
HSY$IS_RIGHT_PARENTHESIS chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
       The input character is not a multi-byte right parenthesis symbol
       character.
     | 
   
  
    | 
      1 -
     | 
    
       The input character is a multi-byte right parenthesis symbol character.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_ROMAN
 
HSY$IS_ROMAN checks if the input character is a one-byte or multi-byte
English letter.
 
 
Format
HSY$IS_ROMAN chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not a one-byte or multi-byte English letter.
     | 
   
  
    | 
      1 -
     | 
    
      The input character is a one-byte or multi-byte English letter.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
  
HSY$IS_RUSSIAN
 
HSY$IS_RUSSIAN checks if the input character is a multi-byte Russian
letter.
 
 
Format
HSY$IS_RUSSIAN chr
  
 
RETURNS
  
    | 
      VMS usage:
     | 
    
      longword_signed
     | 
   
  
    | 
      type:
     | 
    
      longword integer (signed)
     | 
   
  
    | 
      access:
     | 
    
      write only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
The returned flag.
  
  
    | 
      0 -
     | 
    
      The input character is not a multi-byte Russian letter.
     | 
   
  
    | 
      1 -
     | 
    
      The input character is a multi-byte Russian letter.
     | 
   
 
 
Arguments
chr
 
  
    | 
      VMS usage:
     | 
    
      longword_unsigned
     | 
   
  
    | 
      type:
     | 
    
      longword integer (unsigned)
     | 
   
  
    | 
      access:
     | 
    
      read only
     | 
   
  
    | 
      mechanism:
     | 
    
      by value
     | 
   
 
 
Input character.
 
 
Description
None.
 
 
  
  
		 |