OpenVMS/Hanyu RTL Chinese Processing (HSY$) Manual


Previous Contents


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_IDEOGRAPH

HSY$IS_IDEOGRAPH checks if the input multi-byte character is an ideographic multi-byte character (excluding all multi-byte Roman and Greek 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_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 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


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_TECHNICAL

HSY$IS_TECHNICAL checks if the input character is a scientific or mathematical multi-byte symbol character.

Format

HSY$IS_TECHNICAL chr


RETURNS

VMS usage: longword_signed
type: longword integer (signed)
access: write only
mechanism: by value

The returned flag.

1 - The input character is a technical multi-byte symbol character.
0 - The input character is not a technical multi-byte symbol character.

Arguments

chr


VMS usage: longword_unsigned
type: longword integer (unsigned)
access: read only
mechanism: by value

Input character.

Description

None.


HSY$IS_UNIT

HSY$IS_UNIT checks if the input character is a multi-byte standard unit symbol character.

Format

HSY$IS_UNIT 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 standard unit symbol character.
1 - The input character is a multi-byte standard unit symbol character.

Arguments

chr


VMS usage: longword_unsigned
type: longword integer (unsigned)
access: read only
mechanism: by value

Input character.

Description

None.


HSY$IS_UPPER

HSY$IS_UPPER checks if the input character is an upper case Greek or Roman letter.

Format

HSY$IS_UPPER 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 upper case letter character.
1 - The input character is an upper 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


Arguments

chr


VMS usage: longword_unsigned
type: longword integer (unsigned)
access: read only
mechanism: by value

Input character.

Description

None.


HSY$IS_VALID

HSY$IS_VALID checks if the input character is a valid multi-byte character.

Format

HSY$IS_VALID 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 valid multi-byte character.
1 - The input character is a valid multi-byte character.

Arguments

chr


VMS usage: longword_unsigned
type: longword integer (unsigned)
access: read only
mechanism: by value

Input character.

Description

Valid multi-byte characters are those found in the DEC supported local language character set.


HSY$DX_DATE_TIME

HSY$DX_DATE_TIME returns the date and time in local language format (the time can either be the system time or the user-specified date).

Format

HSY$DX_DATE_TIME dst,[flag],[time-addr]


RETURNS

VMS usage: cond_value
type: longword (unsigned)
access: write only
mechanism: by value

The same condition value returned by the OpenVMS Run Time Library routine LIB$SCOPY_R_DX.


Arguments

dst


VMS usage: char_string
type: character string
access: write only
mechanism: by descriptor

The specified destination string to store the resulting time string in local language format.

flag


VMS usage: byte_signed
type: byte integer (signed)
access: read only
mechanism: by reference

Bit 0: 0 - 12 hour format (default)
  1 - 24 hour format
Bit 1: 0 - Full date and time (default)
  1 - Time only
If this argument is not specified, 0 will be used which means 12 hour format with full date and time display.

time-addr


VMS usage: longword_unsigned
type: longword integer (unsigned)
access: read only
mechanism: by value

The address of the quadword that contains the user-specified date and time in 64-bit time format. If this argument is not specified, the current system time will be used.

Description

None.


Previous Next Contents