SourcePoint AMD Help

Table of Contents

displayflag

Determine if the value resulting from an assignment operation is to be displayed.

Syntax

displayflag [= bool-cond]

Where:

bool-cond

specifies a number or an expression that must evaluate to true (non-zero) or false (zero).

Discussion

Use the displayflag control variable to control whether or not the value resulting after an assignment operation is displayed. If bool-cond is true, the results of assignment operations are displayed. The default value for displayflag is false. ย If you enter the displayflag control variable by itself, the current value is displayed.

Example

The following example demonstrates the effect of the displayflag control variable.

Command input:

displayflag = true

Result:

TRUE

Command input:

define byte a
a = 3

Result:

03H *.*

Command input:

displayflag = false ย ย ย ย ย ย ย ย // set to false, the result is not displayed
a = 5

ย 

ย