The DEBUG command enters the QMBasic program debugger.
Format
DEBUG {file.name} record.name {LPTR} {NO.PAGE}
where
file.name | is 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.name | is the name of the compiled program. |
LPTR | causes 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.PAGE | suppresses pagination of output to the terminal. |
The DEBUG command enables detailed tracing of the operation of a QMBasic program to aid development and maintenance.
|