--- title: "Checkbook Statement Comparison" id: 79533 type: "computer_media" slug: "checkbook-statement-comparison" url: "http://localhost/computer_media/checkbook-statement-comparison/" markdown_url: "http://localhost/computer_media/checkbook-statement-comparison.md" published_at: "2026-11-22T19:36:03+00:00" modified_at: "2026-11-22T19:36:03+00:00" featured_image: url: "http://localhost/wp-content/uploads/2026/11/checkbook-statement-comparison-1.png" excerpt: "Checks a checkbook balance against a bank statement on a 1K ZX81 or TS1000." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "George Repicky" slug: "george-repicky" taxonomy: "indiv" url: "http://localhost/indiv/george-repicky/" genre: - name: "Finance" slug: "finance" taxonomy: "genre" url: "http://localhost/type/finance/" media_type: "Program" programmers: - name: "George Repicky" slug: "george-repicky" taxonomy: "indiv" url: "http://localhost/indiv/george-repicky/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Checkbook%20Statement%20Comparison%20%281983%29%28Repicky%2C%20George%29%28TS1000%29%28Program%29.zip" mediadate: "1983" images: - url: "http://localhost/wp-content/uploads/2026/11/checkbook-statement-comparison-1.png" - url: "http://localhost/wp-content/uploads/2026/11/checkbook-statement-comparison-2.png" article_media: - id: 43746 title: "Checkbook Management" type: "article" url: "http://localhost/article/checkbook-management-2/" - id: 24468 title: "Checkbook Management" type: "article" url: "http://localhost/article/checkbook-management/" media_type_tags: "Finance" license: false --- # Checkbook Statement Comparison Works out what a checkbook balance should be from the bank statement, the checks still outstanding and the deposits not yet shown. RUN it and enter the charge per check and the bank balance, then each outstanding check and each unrecorded deposit, ending each list with 0. It fits a 1K ZX81 or TS1000. The keywords in the PRINT strings are entered as single tokens, as the article explains, to save memory. Also printed in [SYNC, January/February 1983](https://timexsinclair.com/article/checkbook-management/). Published in LISTing November 1988 ([Checkbook Management](https://timexsinclair.com/article/checkbook-management-2/)). ## Source Code ``` 70 GOSUB 2000 80 PRINT " INPUT CHECK CHARGE" 90 INPUT A 100 GOSUB 2000 110 PRINT " INPUT BANK BALANCE" 120 INPUT B 130 GOSUB 2000 140 PRINT " INPUT OUTSTANDING CHECKS" 150 GOSUB 2000 160 GOSUB 4000 170 INPUT C 180 IF C=0 THEN GOTO 230 190 LET B=B-C-A 200 PRINT C 210 GOSUB 2000 220 GOTO 170 230 GOSUB 2000 240 PRINT " INPUT UNRETURNED DEPOSITS" 250 GOSUB 2000 260 GOSUB 4000 270 INPUT D 280 IF D=0 THEN GOTO 340 290 LET B=B+D 300 PRINT D 310 GOSUB 2000 320 GOTO 270 330 GOSUB 2000 340 PRINT "BALANCE SHOULD BE: ";B 1999 STOP 2000 SCROLL 2010 PRINT 2020 SCROLL 2030 RETURN 4000 PRINT "IF FINISHED INPUT 0" 4010 GOSUB 2000 4020 RETURN ```