HPlogo 900 Series HP 3000 Computer Systems: MPE/iX Intrinsics Reference Manual > Chapter 4 Command Definitions

PRINTOP

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

None

Commands

None

Manuals

Accessing Files Programmer's Guide (32650-90017)

Feedback to webmaster