Book: GOSUBS
McGraw Hill/Byte Books
[Editor’s Note: This review was submitted originally as part of Art Gindin’s “Reviews for the Non-Programmer” series.]
There are reasons why some of us remain non-programmers. For me there has always seemed to be a big gap between the rules and the execution. A FOR-NEXT loop looks obvious in a book. It just doesn’t appear as an obvious solution when I try to get the computer to “do something”, i.e., program. A cure for this hangup was written some years ago. Unfortunately the book GOSUBS by Ewin and Shirley Gaby came out about the time Timex was going under. It is “A BYTE BOOK” and published by McGraw-Hill. Although I have known about the book for some time, I was only recently able to find one at B. Dalton for $9.95. Since they are written for the original ZX81 the programs are applicable to the 2068 as well as the QL.
The index is complete but there is no Table of Contents so let’s write one. The first two chapters of introduction show how to write a program using GOSUBS to maintain organization. We discussed this type of programming before in TSH No. 10. Chapter 3 is for subroutines of area and volume: triangles, polygons, circles, spheres, etc. Chapter 4 has conversions of quarts to liters, yards to meters, celsius to fahrenheit, decimal to hex, etc. Chapter 5 has statistical formulae: means, modes, ranks, varience, linear regression, etc. Chapter 6 is for business and shows how to enter data into a string (directory), interest and discount, depreciation and moving average, etc.
Chapter 7 has routines for maximum, minimum, random numbers, sorts, etc. Chapter 8 discusses INPUT and SCROLL and is really preliminary the to final chapter (10) where they show how to make a table (spreadsheet). This is probably a bit more programming than most of us can handle and even includes some machine language. Chapter 9 shows how to construct various types of graphs: point, bar, pie, etc.
The book is clearly worth the money, if you can find it, even if you use only one program. Many tapes have been sold with less information than is contained in one chapter of GOSUBS. Such is the history of computing.