Changes to September Budget Program

Author(s): Quentin I. Smith
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v2 n10 (Volume 2, Issue 10)
Date: October 1981
Pages: 2

Quentin Smith asked that we publish these changes to his ZX80 Budget program (Sept.81):

Delete line 2015 and change line 2020 to GO TO 160. Otherwise the PRINT statement in line 2010 will not stay on the screen long enough to read.

Add these lines to print the leading 0 for cents less than 10:

 335 IF Z(J)<10 THEN GO TO 345
343 GO TO 350
345 PRINT ,X(J),Y(J);".";"0";Z(J)
385 IF E<10 THEN GO TO 395
393 GO TO 400
395 PRINT "TOTAL",D;".";"0";E
New Syntactic Sum: 898, 4K

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.