HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 System Debug Command Specifications

ERR

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Pushes a user error message onto the error command stack.

Syntax

   ERR errmsg 

The ERR command is typically used within user defined macros.

Parameters

errmsg

The error message that is to be pushed onto the error stack. This message must be entered as a string expression (that is, a quoted string literal, a string function or macro result).

Examples

   $nmdat > err "Illegal negative parameter value"

Push a custom user error message onto the error stack.

Limitations, Restrictions

The error stack is implemented as a ring, with a total of 10 elements.

Note that the ERROR environment variable is not set by this command.

CAUTION: The output format of all System Debug commands is subject to change without notice. Programs that are developed to postprocess System Debug output should not depend on the exact format (spacing, alignment, number of lines, uppercase or lowercase, or spelling) of any System Debug command output.
Feedback to webmaster