Syntactic SUM – TS2068

Author(s): Michael S. Shaw
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v5 n2 (Volume 5, Issue 2)
Date: February 1984
Pages: 7

This program calculates Syntactic Sums for TS2068 programs. The number returned by USR 65500 should match the one printed after our program listings. The program runs anywhere in RAM.

Syntax, Inc. hereby grants everyone the right to use the this program, to generate Syntactic Sums and to publish them with programs. Replication is strictly prohibited without our written consent.

   5 REM 2068 Syntactic Sum
10 CLEAR 65499
20 FOR a=65500 TO 65534
30 READ d
40 POKE a,d
50 NEXT a
60 PRINT "TS2068 Syntactic Sum Loaded"
70 PRINT "Use PRINT USR 65500 to execute."
80 DATA 167,042,075,092,237,075,083,092,080,089,237,066,035,229,033,000,000,193,011,120,177,040,009,197,026,019,006,000,079,009,024,241,068,077,201
SYNTACTIC SUM: 22803, TS2068

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