3) Order your definitions of variables carefully. Variables which are encountered first during the execution
of a BASIC program are ailocatedatthe start of the variable table. This means that a statement such as
5 A =O:B =A:C = A, wi11 place A first, B second, and C third in the symbol table (assuming line 5is the
first statement executed in the program). Later in the program, when BASiC finds a reference to the
variable A, it will search only one entry in the symbol table to find A, two entries to find B and three entries
to find C, etc.
4) Use NEXT statements without the index variable. NEXT is somewhat faster than NEXT I because no
check is made to see if the variable specified in the NEXT is the same variable in the most recent FOR
statemQ.nt.
E·2