Pro Fortran-77 Version mmq 1.11 for Atari ST  -  extra remarks
--------------------------------------------------------------


Additional sample programs
--------------------------

This issue includes some source (.FOR) files containing sample Fortran
programs not listed in the manual.


1.  MAZES.FOR

This program will print out a different maze every time it is run (and
guarantees only one path through).   It  illustrates  use  of  several
Fortran  features:   logical  and  character  variables  and   arrays,
statement functions, DATA statements with character  constants,  Block
IFs, computed GOTOs, and the random number generator (RANDOM).  It  is
not a very "typical" example of Fortran coding  style,  but  indicates
that Fortran can be used to solve logical as well as  number-crunching
problems.


2.  TOSDEMO.FOR

This program demonstrates use of the supplied SYS routine  for  making
calls to the TOS executive (see User Manual, Part II, section 8.2.12).
Two calls are made, one to output a string to standard output, and one
to discover the operating system version number.  For further details,
refer to the commented source.


3.  GEMDEMO.FOR

This is a simple program to illustrate use of the supplied GEM VDI and
AES interface routines (see User Manual, Part II, sections 8.2.13  and
8.2.14).  The program displays an "alert", which can be  clicked  with
the mouse.  The program then uses AES calls to set up  a  window,  and
VDI calls to display a graph, clipped to the window.



Integrity of issued files
-------------------------

The Pro Fortran-77 software is normally supplied on a  write-protected
disc.  Do not write-permit the master copy  or  execute  the  compiler
from it.  Copy the files from the supplied disc onto your own disc(s).
You may then verify that the working copy is correct (see below),  and
go on to compile, link, and run your own programs as described in Part
III of the User Manual.



Checking validity of files
__________________________

The program FCHECK.PRG is supplied to guard against copying errors  in
the issued software.  It asks for  a  directory  name,  which  may  be
simply a disc drive such as B:, and sumchecks all the  files  in  that
directory whose names it recognises.   These  sumchecks  are  compared
against information recorded within itself (the correct sumchecks) and
either "OK" or an error message is given, for each file.

To run the program, simply double-click on the  FCHECK.PRG  icon,  and
reply to the prompt with the desired directory name.

