There are books written on all kinds of computer subjects. An interesting subject to programmers is subroutines that save time, make a program more understandable, and provides programming ideas.
Back in the early days of Timex/Sinclair computer there were many small books published covering subjects that hopefully would interest readers and T/S BASIC users. One such book was written on the subject of subroutines called “GOSUB 100 Programs-Building Subroutines in Timex/ Sinclair Basic”. This was published by McGraw-Hill Books Co, in 1984 and the authors were Ewin and Shirley Gaby.
The authors were interested in presenting the subject of subroutines to inexperienced programmers so many details were presented that experienced programmers would take for granted. There are quite a few general subjects such as Area and Volume, Conversion (many subjects), Statistics, Business, Maximum, Minimum and Sequences, INKEY$ and SCROLL, Graphing, and Tables. There are 100 routines in all of these catagories.
This book offers the user an opportunity to either use the short programs as subroutines or complete programs. Line numbers are prefixed with X, indicating the programmer is to use his/her own line numbering within a program. Many of the programs can be used by the 2068 user as very few have memory addressing or calling of an address.
Use explanation is good so the programmer can gain useful information on programming technique.
A second subroutine book is “The Most Popular Subroutines In BASIC” by Ken Tracton. This is published by TAB Books and is no. 1050. The author has very abbreviated routines that can be nicely fitted into programs. He has run tests on most of them, printing both the input and outputs so the user can check the correctness of his/her work. The purpose, variables needed, altered and or returned, and the equation for each is provided–very handy and thoughtful.
There are about 125 routines and 23 actual programs that include actual subroutines so the user can see just how the programming is done. The basic subjects include Annuities and Compound Amounts, Conversion (52 subjects), Degrees, Grads and Radians, Electronics, Random Numbers, Hyperbolics, Inertia, Mathamatics, Physics, Sequencing, Trajectory, Value Generator, Values, Vectors, and examples.
I notice that the conversion of the mundane subject of cooking measures is not covered. Too bad as that is a useful subject for cooks and the world of recipes.
My last book is a 1985 book titled “IBM PC & PCjr Subroutine Cookbook” by author David Busch, a Brady Book published by Prentice-Hall.
Subject catagories are Subroutine Magic, BASIC Tricks, Data, Input, Editing, and Output, Using the Clock and Interupts, Business and Financial Subroutines, Bits and Bytes, Joysticks and Paddles, Using Sound, and Game routines.
The author has written for the less experienced user, covering line description, how to use, variables, and sample uses or applications. In many cases these short routines can stand alone as programs for one time use.
In the authors words, “This book is meant for all of you. There are some useful general routines included here. This book bristles with modules designed specifically to perform some sorely needed task for the IBM PC and PCjr alone.”
Recently priced at $2.00 at Book Warehouse stores, 200+ pages!