_warn.utl Utility- Save Warning Message for Later Display

Syntax

call "_warn.utl",warning${,debugging_information$,mode$}

Description

The _warn.utl utility saves a warning message for later display by _saywarn.utl.

Parameter

Description

warning$

Warning message text.

debugging_information$

This is debugging information, as explained under Program Debug Tool.

mode$

Use "c" for a CONSTANT message that is eligible for phrase translation.

Use "v" for a VARIABLE message that is ignored by the phrase translation routine. The translation cycle is explained in Phrase Translation.

Use "f" to flush the warning buffer before saving this message. The default appends this message to whatever currently exists in the warning buffer.

Example

LET BBEXT$=STBL("BBEXT")
LET MESSAGE$="Mask overflow in "+PGM(-2)
CALL STBL("BBEXT")+"_warn.utl", MESSAGE$

This saves the message string to the front of the global string (#Warn). (The contents of this buffer can be displayed using _saywarn.utl.)

CALL BBEXT$+"_warn.utl","First Message"
CALL BBEXT$+"_warn.utl","Second Message"
CALL BBEXT$+"_warn.utl","Last Message"
CALL BBEXT$+"_saywarn.utl"

See Also

Alphabetical EUS Utilities

Functional Listing of EUS Utilities

_lwarn.utl

_saywarn.utl

_unerr.utl