MPE/iX Intrinsics Reference Manual (32650-90875)

560 Chapter9
Command Definitions (MAIL-PUTJCW)
NLSCANMOVE
NLSCANMOVE
NM and CM callable.
Scans and moves character strings according to character attributes. This function is
handled in a language-dependent manner.
Syntax
I16 CA CA U16V
numchar
:=NLSCANMOVE(
inbuffer,outbuffer,flags,
I16V I16V U16A
bufferlength,langnum,error,
U16A CA
charset,shiftinfo
);
Functional Return
numchar
16-bit signed integer (assigned functional return)
Contains the number of characters acted upon in the scan or move
function.
Parameters
inbuffer
character array (required)
Passes the source string.
outbuffer
character array (required)
Returns the target string.
NOTE
If
outbuffer
and
inbuffer
are the same string, this intrinsic performs a
scan function. Otherwise, a move function is performed.
flags
16-bit unsigned integer by value (required)
Contains the flag defining the options for calling the intrinsic and defines
the condition for terminating the scan or move function.
Bits Value/Meaning
14:2 Alphabetic (NLINFO item 12, types 1 and 2):
1 Lowercase
2 Uppercase
3 Uppercase/lowercase
13:1 Numeric (NLINFO
itemnum
=12, type 0)
12:1 Special; NLINFO
itemnum
=12, types: