EasyManua.ls Logo

Laser 128 - Trace

Laser 128
255 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC COMMANDS AND STATEMENTS
3.62
TRACE
Purpose:
To
display
line
numbers
of
a
program
as
each
line
is
executed.
Format:
TRACE
Comments:
TRACE
is
very
u
sef
ul
in
determining
where
a
program
may
be
going
wrong
(debugging).
The
line
number
of
statements
executed
thereafter
is
displayed.
TRACE
is
turned
off
by
the
NOTRACE
command.
Example:
]
10
FOR
J = I
TO
3
] 20
PRINT
J * 2
] 30
NEXT
J
] 40
END
]
TRACE
]RUN
#
IO
# 20 2
#
30
# 20 4
# 30 # 20 6
# 30 # 40
]
II-97

Table of Contents