P Command

Toggles suppression of terminal output. Normally, all system output is displayed on the terminal screen. The P command suppresses this display; entering the P command a second time restores the display. This command is useful when you are running a program and don’t want to display lengthy system or program status messages.

Format

P

Description

The P command does not suppress printer output.

Suppressing Terminal Output

The following example creates a sorted select-list from the inventory file, and then runs an mvBASIC program called INVEN.REPORT which sends output to the terminal:

>SSELECT INVENTORY

 

5  ITEMS SELECTED.

>RUN BP INVEN.REPORT

 

Item Qty. On Hand

-----------------------------------------------

3 HOLE PUNCHER

12

TRASH BASKETS

5

DS/DD FLOPPIES (10)

659

FELT MARKERS (BLACK)

24

LIGHT BULBS (4)

17

Using the P option, all output to the terminal is suppressed:

>P

>SSELECT INVENTORY

>RUN BP INVEN.REPORT

 

>P

>