MESSAGE STATEMENT IN MENU LAYOUTS

MESSAGE displays a one line message in the menu.  The statement can be repeated for displaying multiple line messages.  It can be used to display prompts or names of data fields.

SYNTAX

/[MESSAGE row column rendition text]...

row

is an integer constant that specifies the row position where the message begins in the menu.
column is an integer constant that specifies the column position where the message begins in the menu.
rendition specifies the video attributes for the message.  More than one video attribute may be specified by separating the attributes with plus signs.

   

The valid video attributes are:
  • @NORMAL specifies normal video attribute.  [default setting]
  • @BLINK specifies blinking video attribute.
  • @BOLD specifies bold face video attribute.
  • @REVERSE specifies reverse video attribute.
  • @UNDERLINE specifies underlining video attribute.
text specifies the message text.  The message must be a quoted string.  The length of the message should be within the bounds of the menu and cannot exceed 131 characters.  Extra characters are truncated.

EXAMPLE

/MESSAGE 8 2 @NORMAL"This order is for Region 1"

This example shows that the message in the quoted string is displayed from row 8 and column 2 in the menu.  The video attribute of the message is normal.

SEE ALSO:  PROMPT, TITLE Statements

Function Statement in Menu Layouts    Line Statement in Menu layouts