MPE/iX Quick Reference Guide (32650-90881)

108 Chapter3
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
NLINFO
NM and CM callable.
Returns language-dependent information. The type of information that can be obtained
includes:
Calendar format
Date and time format
Currency
Collating
Translation
Character set
I16V * I16 U16A
NLINFO(
itemnum,item,langnum,error
);
NLJUDGE
NM and CM callable.
Judges whether a character is a 1 byte or 2 byte Asian character.
I16V I16V CA I16V CA U16A U16A
n2bytes
:=NLJUDGE(
langnum,instring,stringlength,flags,error
,
charset
);
NLKEYCOMPARE
NM and CM callable.
Compares two strings of different length (for use with KSAM generic key searching).
CA I16V CA I16V I16 I16V U16A U16A
NLKEYCOMPARE(
generickey,length1,key,length2,result,langnum,error
,
collseq
);
NLNUMSPEC
NM and CM callable.
Returns the information needed for formatting and converting numbers. It combines
several calls to NLINFO to simplify the use of native language formatting. By calling
NLNUMSPEC once, and passing the obtained information to NLFMTNUM and NLCONVNUM,
implicit calls to NLNUMSPEC from NLFMTNUM and NLCONVNUM are avoided and performance is
improved.
I16V U16A U16A
NLNUMSPEC(
langnum,string,error
);
NLREPCHAR
NM and CM callable.
Replaces all nondisplayable control characters in the string with the replacement