User's Reference > General > TCL and General User Commands > Command Reference > P > PRINT-ERR

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

PRINT-ERR (TCL) (m604806+printerr.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

PRINT-ERR

Processes and prints ERRMSG file format items.

Command Class

TCL-II command.

Syntax

PRINT-ERR file-name item-list {(options}

Syntax Elements

file-nameis the name of the file containing the error messages.

item-listis one or more item-ids separated by spaces, a list generated by a list-generating command, or an asterisk (*) to specify all items.

Options

B Break.  Forces a page break before each error message is printed.

I Input.  Prompts for input parameters to be used by the error message.

If this option is selected, the prompt PARAMETER  appears repeatedly until only a RETURN is entered in response. These input parameters override the default character ('~') when the error message is printed.

If fewer parameters are input than the error message needs, the undefined parameters default to the '~' character.

N No page. Suppresses automatic paging.

P Printer. Sends output to the printer.

Comments

Where parameters would normally be inserted into the error message, a tilde ('~') is substituted unless overridden with the I option.  If the P and I options are both selected, the item-id of the error message is displayed on the terminal before its parameters are requested.

Example 1

:PRINT-ERR ERRMSG 860
[860] CHECK CODE ERROR

Example 2

:PRINT-ERR ERRMSG * (B 
*** (L)EFT, (R)IGHT, OR (T)EXT ALIGNMENT *** 
[270] FORMAT ERROR IN THE PROC STATEMENT:

RealityV15.1 (MoTW) Revision 7Comment on this topic