Earlier quoted context omitted.
After a while, magazines like Commodore Run and Compute started including a short program that would checksum each line as you entered it, so you could check that against a checksum in the magazine. Of course, you had to get that program typed in correctly first before you could use it to enter others.
My favorite was the "TYPO II" ("Type Your Program Once") application, which was part of every Antic! Magazine program listing: https://www.atarimagazines.com/v3n9/TYPOII.html https://www.atarimagazines.com/antic/ This was wrapper around the BASIC interpreter that printed out a 2-character checksum of each entered code line. The magazine printing also had an associated 2-character checksum for each line. Your job: mak…
The checksum algorithm is fairly simple: line 32150 sums the products of all character positions and character codes, and lines 32160-32180 does a modulus to convert them to printable characters. The multiply-by-position bit is clever because it allows the checksum to flag transposed characters. ISBN-10 uses a similar scheme[2].
[1] https://www.atarimagazines.com/software/displayfile.php?file...