The final part of the home financial program for all Amstrad users by D G Shedden
This week, a blow by blow account of the listing. If you don't want to type it in send me £3 at Lomand, The Green, Belchamp St Paul, Sudbury, Suffolk, and I'll send you a tape.
- Lines 1 to 920-Contain various subroutines used regularly in the program such as error reports, checking if Standing Orders are due, checking if the entry just made is one m which you are interested in running totals, sorting routines and validation of dates.
- 1000 to 1180-Handle initialisation and declare sizes of arrays, etc. If a different size of account is required then the alterations should be made here. If all the available space is not used there is no loss in saving and loading times because only occupied areas of the arrays are saved.
- 2000 to 2180-Main menu section. You return here after all the subroutines and variables used are returned to standard conditions. You are not allowed to call options unless they can be satisfied, for example, you cannot display the account until details have been loaded or entered.
- 3000 to 3640-Display the statement. On the screen display debits are shown in red and credits in black. To keep to 40 columns the details are shortened but appear in full on the hard copy. This is the only routine to have separate parts to carry out the two forms of display. A complete check on all previous months is made to ensure that brought forward balances are correct in case there have been any retrospective entries.
- 4000 to 5580-This section handles the reconciliation section. A marker is added to each entry made and changed if the entry has been cleared. It makes no difference to the data length whether or not this option is ever used. Reconciliation is effected by displaying each entry in turn and responding y/n to the prompts.
- 6000 to 6260-Allow examination or deletion of entries. Alteration was considered but rejected because of the complexity for what it hoped will be a rarely used option. If an error has got through the check before entry it must be deleted and re-entered.
- 8000 to 8400-This is the input section. Having determined the month you are
- invited to enter the date and details of the entry. A check is made for valid date - eg, 31st June. If any Standing Orders are due before this date then they will be posted. To exit, an entry of '99' is requested so all remaining S.O.s axe entered.
Finally entries are sorted into date order before returning to the menu. Projected cashflow can be achieved merely by entering the Input Data mode and then leaving it.
- 9000 to 9600-These save and load the Da fa files. As written the program will handle any number of accounts, but if only one is to be used the following procedures will save time. Add to Lines 9050 to 9530,, File$. Delete 9500 and 9510 and make 9520 into 9500.
- 10000 to 11720-Handle the creation of the Standing Orders file. These can either be displayed individually showing all months each is payable or alternatively which S.O.s are due in any month. These can be added to or deleted at any time.
- 12000 to 14580-Create the special category entries. Once established, any debit or credit entry or standing order with the same name will be added to a running total. It pays to spend some time considering your interests before entering any data since changes are only possible by deleting and re-entering details.
The remainder of the program consists of instructions and an autosave line.