Syntax Errors

Author(s): Peter Ulrich
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v3 n2 (Volume 3, Issue 2)
Date: February 1982
Pages: 2

Peter Ulrich, New York, sent these corrections for Paul Ezra‘s Brownian Motion program (Dec.81). He explains that Paul’s program runs, but gives curved lines because the manual’s subroutine uses N for 2 different variables. Change the subroutine:

1150 FOR L=0 TO M
1250 NEXT L

This allows these program changes:

  40 LET D=INT (RND*42)+1
50 LET A=C
60 LET B=D

David Ornstein corrected his New 8K ROM Routine Addresses list (Jan.82) issue: LIST at 072C should be LLIST (LIST is at 0730); DCDKB is at 07BD, not 07BC; and RAND is at 0E6C, not 0E69.


In 4K/1K Blackjack (Jan.82 p.16), line 670 should read PRINT P(Z),CHR$(9) to mask the card.


Jon Passler sent some improvements for his 8K Bar Chart program (Jan. 82) to speed up program execution:

  70 IF B(A)=0 THEN STOP
80 FOR P=1 TO B(A)/100+.5
90 PLOT A*2+3,P
100 NEXT P
110 NEXT A

Final Monzxer changes (Nov.81): Add 310 PLOT 23,32. Line 2120 should read 2120 LET A(1)=YR