home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / TURBOPAS / PASUTIL1.ZIP / CONTENTS.TXT next >
Encoding:
Text File  |  1985-12-28  |  3.9 KB  |  81 lines

  1. This disk provides a number of sample Pascal programs.  Some are very
  2. simple; others are more complex.  Most are quite short, while a few are
  3. are fairly long.  All will compile on a 128K machine with two regular
  4. (160K) disk drives.
  5.  
  6. These programs were put together to help the programmer get started
  7. with IBM Pascal.  Many aspects of the language are hard to figure out
  8. from the reference manual; having some sample programs that do work
  9. is frequently very helpful.  These programs were assembled, therefore,
  10. mainly as illustrations of how various things can be done in IBM Pascal.
  11. Most are intended more as "helpful hints" than as products.
  12.  
  13. In rough order of increasing complexity the programs provided are:
  14.  
  15. COPYFILE  -  A fairly basic Pascal program that shows how
  16.              text files are defined, read, and copied.
  17.  
  18. DUMPFILE -  A more complex Pascal program, which will produce a combined
  19.             hexadecimal and ASCII dump of a disk file.
  20.  
  21. TABSET1 - A very basic Pascal program which shows how the printer can
  22.           is accessed, and which sets tabs on an Epson MX-100.
  23.  
  24. TABSET2 - Another version of the same, which treats the printer as a
  25.           binary file rather than a text file.
  26.  
  27. TIMM, -  A group of files, which illustrate the concept of a Pascal unit.
  28. TIMU,    File TIMU is the unit itself; file TIMI is the interface; and
  29. TIMM     file TIMM is a main program which uses the unit.  The unit
  30.          itself illustrates use of the DOSXQQ function to call on DOS
  31.          services.
  32.  
  33. SCREEN - A short program to illustrate how the ADS type can be used
  34.          to get at specific addresses, in this case the memory block
  35.          associated with the monochrome display screen.
  36.  
  37. PRINTER - A useful utility which can be used to print a whole series
  38.           of files. (This program also uses (INCLUDEs) PARSE.P,
  39.           INDEX.P, and DSNAME.P).  A good example of a fairly long
  40.           Pascal program.
  41.  
  42. XREF -  Another useful utility - a cross-reference generator. Also
  43.         a longish Pascal program.
  44.  
  45. UNSQ - A program for unsqueezing files, compressed by techniques such as
  46.        Huffman encoding.  Illustrates some fairly complex data structures.
  47.  
  48. PRETTY - A Pascal pretty-printer.  Useful utility for listing Pascal
  49.          programs. Fairly long (Includes PARTA, PARTB, and PARTC) and
  50.          fairly complex.
  51.  
  52. GETDIR - A brief Pascal program that uses an assembly language routine
  53.          (GETSEC), provided in both source and object, to show how one
  54.          can access a disk directory through Pascal and Assembler.
  55.  
  56. VIDEO - A short assembler subroutine which can be called by Pascal 
  57.         (as in the foregoing example) if you need to perform BIOS 
  58.         video interrupts from Pascal.  
  59.  
  60. PASCLG, - A set of command files that help the whole process of compiling,
  61. PASCL     linking, and executing Pascal programs.  For use, these procedures
  62. PASC      should be copied on each of the three Pascal disks (PAS1, PAS2,
  63.           and PASCAL library); your work disk should be in drive B, which
  64.           also should be the default volume.  A Pascal compilation,
  65.           linking, and test of program TESTX.PAS can then be requested 
  66.           with the command "a:pasclg testx".
  67.  
  68. FLUSH -  A short command file useful for cleaning up the residue of
  69.          a Pascal compilation and test (.OBJ, .LST, .MAP, .EXE etc. files)
  70.          A call to "flush xyz" will scratch all XYZ.--- files except for
  71.          XYZ.PAS
  72.  
  73. That's it for now.   If you find these programs and examples useful,
  74. the Pascal SIG will try to put together another batch. We hope that next
  75. time we'll include some of your contributions and suggestions!!!
  76.  
  77.                                     Good Luck !
  78.  
  79.                                     Pascal Special Interest Group
  80.                                     Capital PC Users' Group
  81.