MESSAGE STATEMENT IN FORM LAYOUTS

MESSAGE displays a one line message in the form.  The statement can be repeated for displaying multiple line messages.

SYNTAX

/[MESSAGE row column rendition text]...

row

is an integer constant that specifies the row position where the message begins in the form.

column

is an integer constant that specifies the column position where the message begins in the form.

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 and cannot exceed 131 characters.  The length of the message should be within the bounds of the form.  Extra characters are truncated.

EXAMPLE

/MESSAGE 5 2 @NORMAL "PRESS ? FOR HELP..."

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

Back to Function Statement    Next page Line Statement