PRINTOP [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation
MPE/iX Intrinsics Reference Manual
PRINTOP
NM and CM callable.
Prints a character string on the system console.
Syntax
___________________________________________
| |
| CA I16V I16V |
| PRINTOP(message,length,controlcode);|
___________________________________________
Parameters
message character array (required)
Passes the character string to be output. The
string is limited to 72 characters, additional
characters are ignored. Nonvideo-enhancing escape
sequences are stripped out.
length 16-bit signed integer by value (required)
Passes the length of the output string to be
transmitted. If length is positive, the length is
in half words; if negative, the length is in bytes.
controlcode 16-bit signed integer by value (required)
Passes the cursor control value:
Value Meaning
0 Moves the cursor to a new line after the message is
printed
%320 Does not move the cursor after the message is printed
NOTE If a null character (%000) is embedded in an array to be printed on
the system console through PRINTOP, then PRINTOP prints only the
portion of the array before the null character, regardless of the
length specified.
Condition Codes
CCE (2) Request granted.
CCG (0) Not returned.
CCL (1) Request denied. A physical I/O error occurred.
Further error analysis through the FCHECK intrinsic
is not possible.
Related Information
Intrinsics None
Commands None
Manuals Accessing Files Programmer's Guide (32650-90017)
MPE/iX 5.0 Documentation