MPE/iX Quick Reference Guide (32650-90881)

Chapter 3 109
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
character. Nondisplayable characters are those with attribute 3 (undeļ¬ned graphic
character) or 5 (control code), as returned by
itemnum
=12 of the NLINFO intrinsic.
CA CA I16V CV I16V U16A U16A
NLREPCHAR(
inbuffer,outbuffer,bufferlength,replacechar,langnum,error
,
charset
)
;
NLSCANMOVE
NM and CM callable.
Scans and moves character strings according to character attributes. This function is
handled in a language-dependent manner.
I16 CA CA U16V I16V I16V U16A
numchar
:=NLSCANMOVE(
inbuffer,outbuffer,flags,bufferlength,langnum,error
,
U16A CA
charset,shiftinfo
);
NLSUBSTR
NM and CM callable.
Extracts
movelength
bytes from the
instring
to the
outstring
.
CA I16V CA I16 I16V 16V
NLSUBSTR(
instring,inlength,outstring,outlength,startposition,movelength,
I16V I16V U16A U16A
langnum,flags,error
,
charset
);
NLSWITCHBUF
NM and CM callable.
Converts a string of characters from phonetic order to screen order or from screen order to
phonetic order.
I16V CA CA I16V U16V U16A
NLSWITCHBUF(
langnum,instring,outstring,stringlength,left-to-right,error
);
NLTRANSLATE
NM and CM callable.
Translates a string of characters from EBCDIC-to-ASCII or ASCII-to-EBCDIC using the
appropriate native language table.
I16V CA CA I16V I16V U16A
NLTRANSLATE(
transcode,inbuffer,outbuffer,bufferlength,langnum,error
,
CA
transtable
);