     
                    
                                Application : mpg
   
                       Help for Version 1.0 : (05 Sep 1992)
     
                           (C) Archimedes World 1992


  1. This programme is to calculate fuel consumption in miles per gallon given the number of miles travelled and the fuel used in litres. The program can be run from the desktop by the usual double click on the file Icon. The icon is displayed on the Icon bar. The Icon bar menu offers the usual info window 
and quit. The main window is automatically loaded. The miles or fuel in litres is entered by a single click in the relevent writable Icon. This displays a
 caret and the value can be entered from the keyboard. To calculate mpg click on the OK button. The input can be amended by clicking on the Icon again and using Ctrl U to clear the Icon; the new value is then entered.
 
N.B. To run this programme you will need the module Interface loaded. This 
module can be found by opening !Interface on the September Archimedes World
Disk. The module should be copied to your !System module directory. !mpg will automatically load this module.  

2. This programme was developed using the software and articles published by
 Archimedes World (August 1992 and September 1992 Issues). The software used 
was:-

!FormEd - (Acorn) for producing the Templates.
!Interface - (Simon Huntingdon) for the "Impression style boxes".
!Convert - (Joe Taylor) for tokenising Basic text files.
!WimpEd - (Joe Taylor) for constructing the basic Wimp shell for the program.
!WimpGloss  - (Joe Taylor) a glossary providing info on functions etc.

Joe Taylor's software and articles saved months of struggling with the
 Programmer's Reference manual. This was my first WIMP programme and was
 produced soley with the above info; I do not have a copy of the Programmer's Reference manual. In all I spent about 8hrs most of it experimenting with
 !WimpEd and !FormEd to produce !mpg. Joe Taylor is an excellent start for
 anyone as I now believe I could tackle something more complex.


    Thankyou Archimedes World for the articles very helpful indeed.


Dave Hyett
6th September 1992.
  
   
   
                            
   
