Program Improvements

Author(s): William Wentz
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v3 n5 (Volume 3, Issue 5)
Date: May 1982
Pages: 2

William Wentz of Rio Rancho, NM, sent this improvement to Frank O’Hara‘s Program 1 (from his articles on Numbers Held Inexactly, Mar. & Apr.82). He says that on ZX81s with 3.25K of memory or less, the variable VARS in line 20 is not constant, but keeps moving up as the display file (screen) is used. To improve the program for any memory size, change these lines:

  15 FOR J=1 TO 5
30 LET I=V+J
50 NEXT J