Try OpenEdge Now
skip to main content
ABL Reference
ABL Syntax Reference : &MESSAGE preprocessor directive
 

&MESSAGE preprocessor directive

Displays a message at compile time in the Compiler Messages dialog box.
Note: Does not apply to SpeedScript programming.

Syntax

&MESSAGE text-string
text-string
A string of characters, preprocessor name references, named include file arguments, or any combination of these that results in a character string to display. The text-string argument does not need to be quoted.

Example

This is a possible compile-time message directive:
&MESSAGE Compiling the {&FILE-NAME} file.
. . .
If this fragment appears in a procedure file, cmessage.p, compiling this file with the COMPILE statement causes the following message to be included with the compiler messages:
Compiling the cmessage.p file.

See also

{ } Preprocessor name reference