                           Areas



           A suite of programs which can be used

           for any Sinclair computer, devised by

            Ian Howland and Damian Clay of Avon



These programs are a suite, either to be put individually

into a 1K ZX81, or to be put in together with the menu in a

16K ZX81 or Spectrum. Each program with your measurements

will work out the areas of the following shapes:

_____________________________



1 Square/Rectangle

2 Triangle

3 Circle

4 Semicircle

5 Ring

_____________________________



Each program follows the same pattern. First the screen

clears and then it asks for the first measurement, it then

displays the measurement given and the programs:- Square/

Rectangle, Triangle and Ring ask for a second measurment.

   Once all the measurements have been entered and veri-

fied, the screen is cleared and the formula displayed. The

computer then works out the answer and displays it. If you

use the menu and all of the programs, then change each set

of lines which say:-



PRINT AT 15,5;"Hit a key to continue"

PAUSE 4e4

GOTO (1000)(2000)(3000)(4000)(5000) (depending on which

routine it is in)



Alter these lines to:



"Press C to Carry on or M for Menu"

g$=INKEY$

IF g$="M" THEN RETURN

IF g$="C" THEN GOTO (1000)(2000)(3000)(4000)(5000) (as

appropriate)

GOTO (3 lines back)



[ The TZX to which this text belongs contains both forms,

first the collected routines with the menu, followed by the

individual routines as separate programs - RLB. ]