home *** CD-ROM | disk | FTP | other *** search
- The program WATFIV.COM is based on the University of Waterloo's
- WATFIV compiler.
- This version is designed to permit CP/M users with FORTRAN-80
- to run WATVIV at home. Watfiv is used in some High Schools.
- WATFIV.COM is a pre-processor. The user generates a source file
- with suffix .WAT. The enclosed submit file is then run using the
- Microsoft Fortran and Linker.
- WATFIV.COM was generated in Pascal(!) using the MT+ compiler.
- The user may run it independently to check operation. Use
- CON: to generate input and output from the console.
- The default output (with PRINT or READ)is the console.
- WATFIV supports the following structured statements:
- -2..stop
- -1..end
- 0..no keyword match
- 1..else do
- 2..end if
- 3..end while
- 4..end at end
- 5..do case vname
- 6..case..
- 7..if none do
- 8..end case
- 9..execute bname
- 10..remote block name
- 11..end block
- 12..at end do
- 13..if(
- 14..while(
- 15..read,...
- 16..read(
- 17..read vname,
- 18..read number,
- 19..print,
-
- Default settings for read and print=i20,e20.8.
- W.F.McGee
- 73 Crystal Beach Drive
- Nepean, Ont K2H 5N3
- (613)-828-9130
-
- Acknowlegement:This program is based on a WATFIV preprocessor
- supplied by the University of Waterloo written by L.J.Dickey,
- Sept 23, 1981, written in Watfiv and Fortran for a Honeywell computer.
-
- NOTES:(from WATFIV source)
- 1. Statement numbers 29999+ are reserved for translator.
- 2. Control statements must be complete on one card, exception:
- while-do and if-then do.
- 3. Maximum 10 continuation cards for read.
- 4. Comments between continuation not allowed.
- 5. Little error checking in translator. But when errors are
- detected, translation terminates.
- 6. Remote block names must be declared as integers if names are
- not integer by default.è7«á Executσá a≤á thσá objec⌠á oµ ß d∩á loo≡á wil∞á no⌠á translatσ ì
- correctly. Use a continue following the execute as do- object.