Basic Computer Programs for Business, Vol. 1

Author(s): Mel Routt
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v3 n1 (Volume 3, Issue 1)
Date: January 1982
Pages: 4
Title:  BASIC Computer Programs for
        Business, Vol.1
   By:  Charles D. Sternberg
 From:  Hayden Book Co., 50 Essex,
        Rochelle Park, NJ 07662
Price:  $10.00

While visiting a favorite book store, I discovered a treasure chest of jewels suitable to adorn the ZX80/81. This book offers “over 35 programs covering budgets, depreciation, cash flow, property comparisons, accounts payable, order entry, warehouse locations, inventory turnover analysis, job routing, resource allocation, production scheduling,” just to name a few listed on the cover.

Each program is shown as a photo reduction of an actual working program printout, eliminating the usual typos associated with reprinting program listings. Each program contains adequate REM statements identifying operations and specific routines. The extra plus is the finished product printout of each program incorporating sample data and output–like having answers in the back of the book. It is an excellent resource, text and drill book combined. A definite must for those seeking more knowledge and practical use for their ZX80/81 as well as great fun and a good challenge.

You won’t be able to immediately type in programs and run them because they are written around a standard format printer–over 32 columns. Also, a few commands appear that the ZX80/81 does not have, such as LSET, FIELD, and READ. Your machine’s shortcomings should not inhibit you. The Breakeven Analysis program, below, was taken from pp.68-70 and now fits beautifully in the 8K/16K ZX80/81.

In this program, I deleted printer functions in favor of video display. The STEP function was removed by replacing the FOR loop with an IF-THEN GOTO statement with counter commands. All IF statements are clearly defined but all equalization statements must be prefaced with LET statements. Thus R0=P*Q0 becomes LET R0=P*Q0. Without the luxury of a 64 column printer, I rounded off data to fit. Decimal answers to 4 places were not practical and unnecessary for most uses. You must watch out for a few other minor things, but you’ll catch on pretty quickly.