PROMPT STATEMENT IN FORM LAYOUTS

PROMPT displays a one line prompt in the form.  The statement can be repeated for displaying multiple line prompts.

SYNTAX

/[PROMPT row column rendition text]...

row

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

column

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

rendition

specifies the video attributes for the prompt.  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 prompt text.  The prompt must be a quoted string and cannot exceed 131 characters.  The length of the prompt should be within the bounds of the form.  Extra characters are truncated.

EXAMPLE

/PROMPT 5 2 @NORMAL "Enter Store Code:"

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

Back to Line Statement    Next page Rectangle Statement