WARNING


10.1B

 

The WARNING directive allows PL/B program warnings to be embedded in the PL/B programs. This directive outputs the program warning to the compiler output devices and listings. The instruction uses one of the following formats:

 

(1)

 

WARNING

{literal}

 

Where:

literal

Optional. A program literal string with a leading/trailing double quote character.

Flags Affected: NONE

Note the following:

  1. The {literal} string is output when a program is being compiled.

  2. The {literal} must be properly formed with a leading and trailing double quote character. Otherwise, a compiler error occurs.

Example:

 

 

Func

FUNCTION

 

 

ENTRY

 

.

 

 

 

WARNING

"'Func' function must be completed!!"

.

 

 

 

FUNCTIONEND

 

 

 

See Also: Compiler Directives

 



PL/B Language Reference VERB WORD