Checkbook Update

Developer(s): George Repicky
Date: 1983
Type: Program
Platform(s): ZX81, TS 1000
Tags: Finance

Brings a checkbook balance up to date from a list of checks, other debits and deposits, showing each with the new balance on a scrolling display.

RUN it and enter the last balance and the charge per check. Then for each item enter a code (0 for a debit, 1 for a credit, or the check number) and the amount. It runs until stopped, and 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.

Published in LISTing November 1988 (Checkbook Management).

Image Gallery

Source Code

 200 PRINT " INPUT BALANCE"
 210 INPUT B
 220 PRINT " INPUT CHECK CHARGE"
 230 INPUT C
 240 CLS
 250 SCROLL
 260 PRINT " INPUT CODE , THEN INPUT AMT."
 270 GOSUB 2000
 280 PRINT "ITEM";TAB 5;"DEBIT";TAB 13;"CREDIT";TAB 21;"BALANCE"
 290 GOSUB 2000
 300 PRINT TAB 21;B
 310 GOSUB 2000
 320 INPUT Y
 340 INPUT Z
 350 IF Y=1 THEN GOTO 1000
 360 LET B=B-Z
 370 IF Y>1 THEN PRINT Y;
 380 IF Y=0 THEN PRINT "DEB";
 390 IF Y>1 THEN LET B=B-C
 400 PRINT TAB 5;Z;TAB 21;B
 410 GOTO 310
1000 LET B=B+Z
1010 PRINT "CRED";TAB 12;Z;TAB 21;B
1020 GOTO 310
2000 SCROLL
2010 PRINT
2020 SCROLL
2030 RETURN

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