debug statement

The debug statement temporarily suspends execution of a FlashBASIC or BASIC program and invokes the FlashBASIC or BASIC debugger.

Syntax

debug

Description

The program can also be run with the d option, or, if cataloged, activated with a d option.

The g command in the FlashBASIC or BASIC debugger returns control to the FlashBASIC or BASIC program and continues execution at the next executable statement in the program.

Example(s)

crt ’command ’:
input response
if response = "d" then debug