Chapter 3 215
Command Definitions C-E
ECHO
ECHO !a
!hi there
If you entered the following command line in a user command, you would see a message
when an error occurred:
IF CIERROR <> 0 THEN
ECHO ** A CIERROR OCCURRED!: (CIERR !CIERROR) **
The first instance of CIERROR has no dereferencing, and so ECHO treats it literally. The
second instance, !CIERROR, contains explicit dereferencing, and so MPE/iX substitutes a
value for the system variable CIERROR before the message is displayed to $STDLIST. So,
for example, if the program generated error 975, you would see this message:
** A CIERROR OCCURRED!: (CIERR 975) **
Related Information
Commands CALC, SET, SETVAR, COMMENT, TELL, WARN
Manuals Appendix A, "Predefined Variables in MPE/iX"