PRINT-ERR Command

The PRINT-ERR command lists system messages invoked by a file item. If invoked on items in the ERRMSG file, this command lists the text of the specified system messages.

Format

PRINT-ERR filename item-list [(P)]

Parameter(s)

filename

Name of the file.

item-list

One or more items. Use an asterisk (*) to specify all items in the file.

P

Sends output to the printer.

Description

This command invokes the Error Message processor on the items you specify. If you do not specify an item, you are prompted to enter one. The Error Message processor is run on the specified items, and any system messages called by those items are listed.

NOTE

Do not confuse the PRINT-ERR command with the PRINTERR statement in mvBASIC.

Listing Items in the ERRMSG File

You can use PRINT-ERR to list any of the system messages contained in the ERRMSG file. To do this, enter the following:

Format

PRINT-ERR ERRMSG msg-number

Parameter(s)

msg-number

Number of the system message.

For example, to display system message number 10, enter:

>PRINT-ERR ERRMSG  10

[10] FILE NAME MISSING