DUMP Verb

Syntax

DUMP {(channelno{,ERR=lineref}{,IND=index})}

Description

For BBj-specific information, see the DUMP Verb - BBj.

The DUMP verb displays the values of all variables on the specified channel as well as the state of active FOR .. NEXT loops, GOSUBs, and WHILE .. WEND loops.

Parameter

Description

channelno

Output channel number.

ERR=lineref

Branch to be taken if an error occurs during execution.

IND=index

File pointer location for output. For record files, this is the desired record number.

DUMP outputs in records no longer than 80 bytes. If executed in a public program, all symbol tables down to level 0, and all global strings, are dumped. See the STBL() function for additional information.

DUMP with pause

When DUMPing to channel 0, PRO/5 pauses after each screen of output. Pressing any key causes the next screen of output to be displayed. The SETOPTS verb may be used to disable the pause feature. See the SETOPTS verb for additional information.

Examples

>DUMP (5)
1040 DUMP

To dump variables to a printer:

>OPEN (1)"LP"
>DUMP (1)

See Also

Verbs - Alphabetical Listing