Save more memory by using more variables

Authors

Publication

Pub Details

Date

Pages

See all articles from Extensions issue 3

We will use H = 2, K = 10, Q = 32, and R = 256. All these are added to line 9996.

9996 LET P=VAL "20": DIM D$(VAL "28020"): LET O=NOT PI: LET B=O: LET U=SGN PI: LET H=U+U: LET F=H+H: LET G=VAL "7": LET K=VAL "10": LET J=VAL "15": LET Q=COE " ": LET R=VAL "256": LET D$( TO P)="*SEARCH IS COMPLETE*": LET A$="ALL": LET C$="": FOR X=U TO J: LET C$=C$+CHR$ X: NEXT X: LET S=O

Now adjust any appropriate program lines. Remember that if you used my previous variables, you may have used U+U for 2 and CODE ” ” for 32. Change these as well. Also use combinations such as K-U (10-1) for 9 and K*K (10 times 10) for 100. Do not use variables in lines 7990, 9991 or (if you add the microdrive routines) 9900, 9901. Finally, for speed purposes in editting, don’t use them between lines 5010 and 5103.

Products

Downloadable Media

 
Scroll to Top