beautypg.com

Display symbolic – Compaq AA-Q88CE-TE User Manual

Page 157

background image

DISPLAY SYMBOLIC

DISPLAY SYMBOLIC

Display a text in a monitor picture depending on the result of an expression
evaluation.

Format

DISPLAY SYMBOLIC

expression "text-string" [,"text-string"]...

Command Qualifiers

Defaults

/BELL=Boolean-expression

/NOBELL

/BLANK=Boolean-expression

/NOBLANK

/BLINK=Boolean-expression

/NOBLINK

/BOLD=Boolean-expression

/BOLD

/REVERSE

/NOREVERSE

/UNDERLINE=Boolean-expression

/NOUNDERLINE

/X=column

Column of previous item

/Y=row

Next free row

Description

The

DISPLAY SYMBOLIC

command displays one of the text strings depending on

the value of

expression

. The first string is output if the expression’s value is

zero (0), the second string is output if the expression’s value is 1, and so on. If
the expression has a value for which there is no corresponding entry in the list of
texts, then the value itself is printed. (Note that there is a limit of 255 characters
on the size of one command to RTR, so large numbers of long strings should be
avoided.)

The command can be used within a monitor file or issued at the

RTR

prompt

when interactively defining a monitor picture for use in a subsequent MONITOR
command.

Parameters

expression

The expression to be evaluated.

Expression

can either be the name of a single

data item, or an expression combining several data items using simple arithmetic
operations and constants. In the latter case, the data items must all be of the
same type and

EXPRESSION

must be enclosed in quotation marks.

Qualifiers

/BLANK[=Boolean-expression]
/NOBLANK (D)

Specifies that the displayed value is replaced by blanks if

Boolean-expression

evaluates to True (non-zero).

/BLINK[=Boolean-expression]
/NOBLINK (D)

Specifies that the displayed value blinks if

Boolean-expression

evaluates to True

(non-zero).

RTR Command Line Interface 6–81