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 / TPASPGM.ARC / TPASPGM.DOC < prev    next >
Text File  |  1989-09-27  |  3KB  |  64 lines

  1. Documentation for Turbo Pascal programs -- 3/17/85
  2.  
  3. I hereby release the programs in this library to the Public Domain.
  4.  
  5. Wm Meacham, Reliance Software Services, 1004 Elm Street, Austin, Tx  78703.
  6.  
  7. Here are several programs written in Turbo Pascal (CP/M version) on a
  8. Kaypro computer.  Some I wrote because I needed something done, some I
  9. wrote to explore the compiler, and some I wrote just for the hack value.
  10.  
  11. DEL.COM / DEL.PAS
  12.  
  13. When you are in the TURBO environment you can view the disk directory but
  14. you can't delete files.  This program allows you to delete a file; from the
  15. TURBO menu, type "X," then "DEL."  The program prompts you for a filename
  16. to delete.  You must give it an unambiguous filename -- no wild cards.
  17.  
  18. PRIME.PAS / PRIME.COM
  19.  
  20. The "Eratosthenes sieve" benchmark from Byte magazine to test compiler
  21. efficiency in producing cpu-intensive code.  Dramatically fast!
  22.  
  23. PRTFILE.PAS / PRTFILE.COM
  24.  
  25. I needed to print a text file double spaced and couldn't use Perfect Writer
  26. because the whole thing was formatted (single spaced) for Verbatim mode, so
  27. I wrote this program.  It does just about everything the well-known public
  28. domain program L.COM does with the addition that you can specify line
  29. spacing.  A disadvantage of high-level languages is shown in the executable
  30. file size -- 9K vs 2K for L.COM.  I had to work out how to expand tabs
  31. correctly and how to deal with embedded formfeed characters.
  32.  
  33. RENAME.PAS / RENAME.COM
  34.  
  35. You can't rename a file from within the TURBO environment, so I wrote this
  36. program to do it.  From the TURBO menu, type "X," then "Rename," then
  37. follow the prompts.
  38.  
  39. SORTTEXT.PAS / SORTTEXT.COM
  40.  
  41. I needed to sort a list of names, so I wrote this to do it; it sorts any
  42. text file.  The sort is done entirely in core, so there is a limit to the
  43. file size, set by the constant maxlines.  Try increasing maxlines and
  44. recompiling -- I don't know how big you can get before you run out of core. 
  45. Note -- it sorts on the ASCII collating sequence, so "BLUEBERRY" comes
  46. before "apple."
  47.  
  48. STARS.PAS / STARS.COM
  49.  
  50. This is a truly fun game -- a combination of thought-provoking "brain
  51. teaser" and shoot-em-up arcade game.  It displays a 3-by-3 grid and you
  52. change stars (asterisks) to black holes (apostrophes) by shooting them,
  53. which is done with the numeric keypad.  The object is to get all stars
  54. surrounding one black hole.  I modified it from a version I found on a
  55. Pascal/Z user group disk.
  56.  
  57. XYZZY.COM
  58.  
  59. I don't have the source for this; I found it on a public domain disk
  60. somewhere.  For the Adventure fans out there.
  61. nu, type "X," then "Rename," then
  62. follow the prompts.
  63.  
  64. SORTTEXT.PAS /