CROSSREF Manual

EXTENDED BASIC
Sample Listing
The line numbers shown in the CROSSREF listing represent the
EXTENDED BASIC line number plus the continuation number of the
BASIC statement. For example, line 230 in the sample program
(see Figure 8-1) contains statements 230, 230.01, and 230.02.
Lines 230.01 and 230.02 represent the THEN and ELSE statements of
line 230:
230 IF MID$(tdate$,4,3) = currentmo$ &
THEN fnthismonth = 1 ELSE fnthismonth = 0
There are several ways to declare the type and size of an
EXTENDED BASIC variable; it may be defined by a DECLARE, DIM,
or MAP statement. The CROSSREF priority is MAP, DIM, DECLARE.
Consequently, CROSSREF lists the MAP statement as the defining
statement followed by subsequent references to DIM and DECLARE
statements.
Figure 8-1 shows the EXTENDED BASIC program that CROSSREF scanned
to produce the cross-reference listing.
8-3