HPlogo MPE/iX Intrinsics Reference Manual > Chapter 9 Command Definitions (MAIL-PUTJCW)

PRINTOP

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

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:

ValueMeaning
0Moves the cursor to a new line after the message is printed
%320Does 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 PRINTOPREPLY
Manuals Accessing Files Programmer's Guide




PRINTFILEINFO


PRINTOPREPLY