home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / S / WATFIV.LBR / WATFIV.DOC next >
Text File  |  2000-06-30  |  2KB  |  56 lines

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