STARTS THE MODE TRACE AND CREATES THE TEXT FILE F
ACTION
The command TRACE_ON F starts the mode trace and creates the tracing file F.
The file F is a text file.
If the file does not exist, it is created, otherwise the existing file is replaced by the new one.
In The file, the date, the time and the number of the executed line are written.
Every error is also written: number and error type.
The file is closed when:
- an error happens and no ON_ERROR_GOTO has been executed
- the last line of the source has been executed (in the case there is no END).
SYNTAX:
TRACE_ON F
USE ERROR EXAMPLE
dim a%,b%
trace_on "test.txt"
a%=1
b%=1
trace_off
a%=2
end
TRACE_ON
TRACE_ON F
SEE ALSO
TRACE_OFF