DEBUG

DEBUG

Top  Previous  Next

 

The DEBUG command enters the QMBasic program debugger.

 

 

Format

 

DEBUG {file.name} record.name {LPTR} {NO.PAGE}

 

where

 

file.nameis the name of the directory file holding the program to be run. If omitted, this defaults to BP. The .OUT suffix for the output file is supplied automatically.

 

record.nameis the name of the compiled program.

 

LPTRcauses output to logical print unit 0 to be directed to the printer. This is identical in effect to a PRINTER ON statement being performed within the program.

 

NO.PAGEsuppresses pagination of output to the terminal.

 

 

The DEBUG command enables detailed tracing of the operation of a QMBasic program to aid development and maintenance.