NLS Adds Pattern Match [ COMMUNICATOR 3000/XL Release 1.2, Version A.20.10 ] MPE/iX Communicators
COMMUNICATOR 3000/XL Release 1.2, Version A.20.10
NLS Adds Pattern Match
by Jesse Chin--Commercial Systems Division
Native Language Support (NLS) provides the HP 3000 with the features
necessary to produce localized application programs for end users without
reprogramming for each country or language.
Previous releases of NLS included the support of languages from Western
European countries, the Middle East region and Far East countries
including support of Japanese, Korean, Simplified Chinese, and
Traditional Chinese. This new release of NLS (A.03.02) includes support
of pattern match. Pattern match allows users to check data values
against a general pattern. It can be used to check the actual value, but
actual values are more easily checked by using other NLS routines, such
as NLFINDSTR, NLKEYCOMPARE, or NLSCANMOVE.
NEW NLS PATTERN MATCH INTRINSICS
Two new NLS intrinsics have been added to support native language pattern
match. The pattern specification and grammar are the ones used in VPLUS,
see HP Data Entry and Forms Management System VPLUS/3000 (P/N
32209-60002) section IV under "Pattern Match" for more details. Also
refer to the related article in the "Technical Articles" section in this
Communicator.
New and Modified NLS Intrinsics
--------------------------------------------------------------------------------------------
| | |
| NLINFO (Modified) | Item #34 returns the data ordering of the language and space |
| | character. |
| | |
--------------------------------------------------------------------------------------------
| | |
| NLMATCHINIT (New) | Compile a pattern into a form for use with NLMATCH |
| | intrinsic. |
| | |
--------------------------------------------------------------------------------------------
| | |
| NLMATCH (New) | Compares a string against a pattern (which has been compiled |
| | by NLMATCHINIT intrinsic). |
| | |
--------------------------------------------------------------------------------------------
MPE/iX Communicators