home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / ANSWER4A.ZIP / ANSWERS.DOC < prev    next >
Encoding:
Text File  |  1988-05-12  |  7.9 KB  |  179 lines

  1. ANSWERS ! Version 4.0A
  2. Copyright 1988 Brian Corll and TEN B.C. Micro Systems
  3.  
  4.  
  5. Introduction
  6.  
  7.      ANSWERS ! Version 4.0 is composed of two programs which allow you to
  8. index (preferably large !) text files in such a way as to enable you to
  9. retrieve information on any topic in the file very quickly, in many cases,
  10. literally in the blink of an eye !
  11.  
  12.      These programs are being distributed as ShareWare in archived format as
  13. ANSWER4A.arc, which should include the following files:
  14.  
  15.      ANSWERS.exe - the runtime module
  16.     
  17.      INDEX.exe - the parsing, sorting and indexing module
  18.  
  19.      COMMON.wds - a text file, explained below
  20.  
  21.      ANSWERS.doc - this manual
  22.  
  23.  
  24. HOW IT WORKS
  25.  
  26.      Briefly, the system parses a text file, such as a manual, and breaks it 
  27. down into its individual words.  These words are then sorted alphabetically
  28. (natch !) and from this sorted list two files are created: 1) an index file of 
  29. all the unique words which occur in the manual, and 2) a pointers file 
  30. containing the line numbers in which each unique word appears. Meantime, a 
  31. third file has been created which is merely a structured copy of the text file 
  32. itself.  These three files are used by the runtime program to locate any 
  33. subject matter anywhere in the text file.
  34.  
  35.  
  36. HOW TO USE IT
  37.  
  38.      There is one major rule: the file to be processed must be in ASCII text 
  39. format.  The file name and extension must follow the usual MS-DOS conventions
  40. (eight letters maximum for the file name, three letters for its extension).
  41.  
  42.      Now then, the simple part :
  43.  
  44.      All of the files from the archive must be on the same disk and in the same
  45. directory as the text file to be processed.  A word of warning: the resulting 
  46. files will take up large amounts of space, so this system is best used on a 
  47. hard disk with lots of room.
  48.  
  49.      To begin processing, simply type the following:
  50.  
  51.      INDEX filename.ext
  52.  
  53.      The program will begin immediately and will keep you informed of what it 
  54. is doing as the indexing progresses.   Three new files should now be on your 
  55. disk, all with the same filename, and these extensions : '.dat','.ndx', and
  56. '.ptr'.  These three files are necessary to run the system.  The original text 
  57. file can then be deleted (for God's sake, back it up first, though !).
  58.  
  59.      Once the indexing is complete, you are ready to go ! Here's how:
  60.  
  61.      First of all, you should configure the runtime program to use colors for 
  62. the screen display which suit your taste and eyeballs.  To do that, simply type
  63.  
  64.      ANSWERS COLORS
  65.  
  66. and follow the instructions on the screen.  This process creates a file called 
  67. ANSWERS.cfg in which the four allowed color choices are stored.  If this file 
  68. is not present on the disk at run time, ANSWERS ! will use its default colors.
  69.  
  70.     OK. Now for the test drive.  Type ANSWERS filename, that is, just the root 
  71. name (the first eight letters) of the file which you just indexed.  After an 
  72. opening screen display (which is just a novelty to amuse you while the index is 
  73. being loaded into memory), the topic entry screen will appear.  You have 55 
  74. spaces in which to specify the topic you wish to search for.  Type anything you 
  75. want any way you want to type it.  If it ain't in the text, ANSWERS ! will let 
  76. you know instantly.  There are a few things to keep in mind:
  77.  
  78.      1)  ANSWERS ! can find at most a hundred references to a particular topic.
  79. If 100 references to the topic you want appear on the screen, you may want to 
  80. try again and be more specific.  If 102 references to a topic exist in the 
  81. text, you won't see the last two.
  82.  
  83.      2) When the references appear on the screen, simply type the number of the 
  84. one you want and press the 'Enter' key.  The text will appear on the screen 
  85. with the line you chose highlighted.  This line will remain highlighted 
  86. whenever it appears on the screen during highlighting.  To scroll through the
  87. text, simply press the up and down arrow keys.  When you're finished reading, 
  88. press 'Enter' or the 'Esc' key.  ANSWERS ! will ask if you want to look at 
  89. another reference.  If you answer 'Y', the references will be re-displayed and 
  90. you may choose another.  If you answer 'N', the entry screen will reappear.
  91. To exit ANSWERS !, simply press the 'Enter' key while the entry line is blank.
  92.  
  93. That's it !
  94.  
  95. ORAL ROBERTS PART
  96.  
  97.      As I said in the beginning, this program is ShareWare.  For those of you
  98. unfamiliar with this concept, it works like this:
  99.  
  100.      You may use this program on a trial basis for a period of ninety days with 
  101. no obligation whatsoever.  You may redistribute it in its present form to other 
  102. individuals or bulletin boards.  However, I hold the copyright to this system, 
  103. so neither you nor anyone else has the right to modify the program or market it 
  104. without my written consent (and my being compensated accordingly !).  
  105.  
  106.      Ahem ! Now for some sales talk:
  107.  
  108.      Please keep in mind that you are not licensed to use this program past
  109. ninety days unless you have registered with me as a user and paid the one time
  110. license fee of $ 35 ($ 400 for an unlimited corporate site license).  Once this fee has
  111. been paid, you may use the program as often as you want, on as many machines as
  112. you wish.  Future upgrades will then be sent to you for an additional fee of $
  113. 10, payable when the upgrade is received by you.  For further information, or to
  114. send checks, write to:
  115.  
  116.  
  117.                              Brian Corll
  118.                              1700 N. 2nd St. #9
  119.                              Harrisburg,PA 17102
  120.                              Tel.: 717-233-3217
  121.  
  122.      If you like this program and use it, please register.  I'm getting married
  123. on August 6, 1988 , and I can certainly use the money !
  124.  
  125.  
  126. POSSIBLE PITFALLS
  127.  
  128.      The only possible difficulty you may encounter in the use of this program 
  129. is the fact that the file sizes are large.  However, this system was designed 
  130. to be used with files which are large to begin with, and in these times of huge
  131. hard disks, a couple of million bytes are no big deal, especially when you
  132. weigh the storage space against the speed and usefulness of the program.  Try
  133. it out and decide for yourself.
  134.  
  135. LEGAL STUFF
  136.  
  137.      These programs are provided "as is" without warranty of any kind,
  138. either express or implied, included but not limited to the implied
  139. warranty of merchantability and fitness for a specific purpose.  The
  140. entire risk as to the quality and performance of these programs is with
  141. you.
  142.  
  143.      In no event will the author be liable to you for any damages,
  144. including any lost profits, lost savings or other incidental
  145. or consequential damages arising out of the use of or inability
  146. to use these programs.
  147.  
  148.      Now that I have that out of the way, let me add that these programs
  149. have been run literally hundreds of times on several different machines, without
  150. harm to hardware or the original files.  The test machines included an IBM-XT
  151. with CGA card, an IBM 3270-AT with XMA card, and a Leading Edge Model D2 EGA system.
  152. It cannot be guaranteed that these programs will work properly with all hardware
  153. configurations, but they should work with most.  With proper use, these programs
  154. should not cause you any trouble.  If they do, please write to me with a complete
  155. description of the problem, so that I can get to work on it.
  156.  
  157. THE FUTURE
  158.  
  159.     An ultra-fast hypertext version of this system is in the works and will
  160. be distributed this summer.  Watch for it on a bulletin board near you !
  161.  
  162.  
  163. WHO DONE IT AND WHAT IT IS
  164.  
  165.      I am new to the world of ShareWare, but no longer so new to PC's.  I
  166. received a B.A. in art history from Vassar about five years before the IBM PC
  167. was born.  I create software as a fulltime job and as a hobby.  If you like and
  168. use what I do, let me know.  If you love what I do, pay me !
  169.  
  170.                                     Brian Corll
  171.                                     May 12, 1988
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.