home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / PAFRV935.ZIP / INSTALL.EXE / NAME.REV < prev    next >
Text File  |  1993-06-01  |  3KB  |  53 lines

  1.           ╔══════════════════════════════════════════════════════════╗
  2.           ║            Review of NAME - From File NAME.REV           ║
  3.           ╟──────────────────────────────────────────────────────────╢
  4.           ║    PAF Review    -    Edition 93.4    -    June 1993     ║
  5.           ╚══════════════════════════════════════════════════════════╝
  6.  
  7.        Because of my particular (some would say unhealthy!) interest in
  8.        the PAF NAME file, I decided to review the NAME file listing
  9.        program written by Kent Riggins.  It's a very simple program,
  10.        written in BASIC, and includes the source code but no
  11.        documentation.
  12.  
  13.        When you execute the program, it displays some brief program
  14.        identification and then asks you to enter the "path for input".
  15.        This would be the name of the directory containing your PAF data.
  16.        The program doesn't validate this information so if you enter an
  17.        invalid directory name, you will receive a cryptic message saying
  18.        something profound like: "Bad file name in module NAME at address
  19.        23D3:00E3." At this point you have to just start over.  The
  20.        program requires that you enter a "\" at the end of the path or
  21.        directory name.  An example of the right way to enter this
  22.        directory name would be: C:\PAF\DATA\, assuming of course that
  23.        your PAF data were located there.
  24.  
  25.        The program asks a second question too: "Enter path and file for
  26.        output:".  This is a file name you pick for the name list to be
  27.        written to.  Any valid DOS file name will do.  I entered
  28.        "NAME.LST" which the program created in the current directory.
  29.        This happened to be the PAF directory.
  30.  
  31.        The program then worked away for about 25 seconds after which the
  32.        DOS prompt reappeared.  During this time, there was no indication
  33.        on the screen that anything was happening.  I was running under
  34.        Windows on a 25Mhz 386SX, a moderately fast computer.  The name
  35.        file contained roughly 2,500 names.  I then looked at the file
  36.        "NAME.LST" where I directed that the name list be placed.  It
  37.        contained the entire list of names, formatted for printing with
  38.        three columns to a page and 55 lines to a page.  Each page ended
  39.        with a page eject character so the file could be printed easily by
  40.        merely copying it to the printer.  For example, with my file name
  41.        and printer setup, I used the command "COPY NAME.LST PRN".
  42.  
  43.        The resulting name list was alphabetically sorted and included the
  44.        PAF name code for the name.  This number is the code that actually
  45.        appears in all other PAF data files when the name associated with
  46.        it occurs.  There are no headings on the pages.  The numbers are
  47.        right justified and the names left justified, making it easy to
  48.        scan the listing.
  49.  
  50.        It's a simple program, but it did what was expected.  Because the
  51.        source code is included, NAME could be helpful as an example to
  52.        anyone wanting to traverse the PAF NAME file tree in a program.
  53.