home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / PULLDIR.ZIP / PULLDIR.DOC next >
Encoding:
Text File  |  1987-12-13  |  2.8 KB  |  78 lines

  1.  
  2.                           PullDir.PAS SOURCE code
  3.  
  4.                       Version: 1.2 - December 12, 1987
  5.  
  6.                      A User-Supported Programming Tool
  7.  
  8.                        Written By:  Keith I. Smith
  9.  
  10.  
  11.              (C) Copyright 1987, KISware, All Rights Reserved
  12.  
  13.  
  14.  
  15.  
  16.                                GENERAL NOTES
  17.  
  18.          This version of PullDir.PAS is  distributed as  user-supported
  19.          software.  This means that it is the user of the program, you,
  20.          who is solely responsible for the developer, us, being able to
  21.          continue  to  develop  useful software.  It means that you can
  22.          "test drive" this program and decide whether it is of value to
  23.          you.  As  with  all  user-supported software, it is imperative
  24.          that  you help us to help you.  If you have received this pro-
  25.          gram  from  another  user or from a bulletin board and find it
  26.          useful, please send a $15 contribution to:
  27.  
  28.                            KISware Products
  29.                            216 Pond Ridge Road, East
  30.                            Columbia, SC  29223
  31.  
  32.          You are granted a limited license to use,  copy and distribute
  33.          the program and documentation as long as you do not:
  34.  
  35.          1. Charge for any copy of the program or documentation.
  36.          2. Distribute the program in a modified form.
  37.  
  38.          Your cooperation is not only greatly appreciated but it ensures
  39.          that more quality programs will be available to you at very low
  40.          cost in the future.
  41.  
  42.          Thank you,
  43.  
  44.          Keith I. Smith
  45.          KISware Products
  46.  
  47.  
  48.  
  49.                            Programmer's Documentation
  50.  
  51.  
  52.   The main routine in this module is GetDirectory.  Its calling form is:
  53.  
  54.            FUNCTION  GetDirectory(VAR Mask,Name: String): Word
  55.  
  56.   You simply need to call this function from within your own program in order
  57.   to select a filename for operating.  Pass the desired filemask and variable
  58.   to hold the selected name to the program.  The user may change the mask if
  59.   desired and may also step thorough the disk directory if necessary to locate
  60.   the desired file.
  61.  
  62.   Hooks have been provided to catch commands such as D>elete, C>opy or R>ename
  63.   a file.  It has been left up to you to provide these functions if desired. A
  64.   later version will probably be uploaded that includes these functions
  65.   internally.
  66.  
  67.   In your own program, you will obviously need to modify the file PullVar.PAS
  68.   in order to display the desired help commands.  A sample screen has been
  69.   provided.
  70.  
  71.   The program TestPull.EXE is included for a demonstration.  I have included
  72.   the TPU files with this Archive as well.
  73.  
  74.  
  75.  
  76.                           ------ Keith ------
  77.                         CompuServe # 70741,1351
  78.