SHOW

<< Click to Display Table of Contents >>

Navigation:  Reference > Commands >

SHOW

The form of the SHOW command is:

SHOW x . x ... ,

SHOW BELL,

SHOW CLEAR,

SHOW SERIAL,

where x can be a variable or a text. More than one variable or text may appear. Text may not be more than 60 characters in length. Variables must previously have been defined in the code.

SHOW BELL causes the screen bell to be sounded.

SHOW CLEAR causes the screen to be blanked and further output to start at the top.

SHOW SERIAL is the same as SHOW CLEAR except that the current serial number is placed at the top of the screen.

The SHOW command is used to monitor the state of the data at run time or to display a message at the screen. When a SHOW command is encountered, text and the values of variables are displayed at the screen.

A summary of the number of times each SHOW command was executed appears in the Report file.

If the run control parameter NODIS is set, SHOW commands are treated as L (list) commands and output is sent to the Report file instead of the screen.

Formats VWL (Variable Width in List) and VNL (Variable Name in List) may be used to modify the display appearance. These are useful with the run control parameter STRIPRPT to create a fixed format Report file that can be used as a data file for other programs.

Examples of SHOW commands:

show $15,

show $this.$that.$other,

show 'Age wrong' . $age . 'years',

show bell.'This is a demo run',

if $46-49/b, then,

show 'Cols 46-49 blank', go to @777,  

endif,

show clear,

show serial,