home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 13 / 013.d81 / t.peabody < prev    next >
Text File  |  2022-08-26  |  4KB  |  214 lines

  1.  
  2.               PEABODY
  3.  
  4.  
  5.  
  6. Written by: John Stilwell
  7.  
  8. PEABODY: A File Handler for the C-64
  9. PowerPlay Magazine, July 1985
  10. Page 59
  11.  
  12.  
  13.   PEABODY is a versatile file-handling
  14.  
  15. program.  You can create files for
  16.  
  17. such things as addresses, inventories,
  18.  
  19. and mailing lists.
  20.  
  21.   The first thing the computer asks
  22.  
  23. is if you want an old file.  Pressing
  24.  
  25. any key other than 'Y' tells the
  26.  
  27. computer that you would like to start
  28.  
  29. a new file from scratch.
  30.  
  31.   If you make a new file, you need to
  32.  
  33. define the fields of the file.  For
  34.  
  35. example, in a mailing list we might
  36.  
  37. want 6 fields (name, address 1,
  38.  
  39. address 2, city, state and zip). After
  40.  
  41. specifing the number of fields, you
  42.  
  43. must name the fields.  You will
  44.  
  45. probably use names such as 'name',
  46.  
  47. 'city', etc...
  48.  
  49.   After naming the fields, you must
  50.  
  51. give your new file a name.  This is
  52.  
  53. the name which will be used to call up
  54.  
  55. the file.  In our example, we might
  56.  
  57. call our file 'peabody test'.  After
  58.  
  59. naming our file, we are automatically
  60.  
  61. taken to the main menu.
  62.  
  63.   The menu has many options to choose
  64.  
  65. from.  These options are LOAD, SAVE,
  66.  
  67. ENTER, SEARCH, DUMP, PRINTOUT, NEW,
  68.  
  69. and ALPHABETIZE.
  70.  
  71.   To ENTER new data, press the 'f7'
  72.  
  73. key.  You will be asked to enter the
  74.  
  75. new information field by field.  After
  76.  
  77. all fields have been entered, a bar
  78.  
  79. will appear at the bottom of the
  80.  
  81. screen that says 'edit'.  If you want
  82.  
  83. to edit the new entry, press the 'E'
  84.  
  85. key.  The bar will then change to
  86.  
  87. 'kill'.  Press the 'K' key to erase
  88.  
  89. the whole entry.  Otherwise, press
  90.  
  91. any other key to proceed.
  92.  
  93.   To search through your data, press
  94.  
  95. the 'f1' key.  You will then be
  96.  
  97. asked for a field to search.  In our
  98.  
  99. example, let's say we want to search
  100.  
  101. the first field (name) for the name of
  102.  
  103. Jimmy Bob Wheeler.  Simply press the
  104.  
  105. number 1 (field one).  You will then
  106.  
  107. be asked for a first name.  At this
  108.  
  109. time you will type in 'Jimmy Bob
  110.  
  111. Wheeler'.  The computer will then
  112.  
  113. search the data for the first name of
  114.  
  115. Jimmy Bob Wheeler.  When the name is
  116.  
  117. found, you have the option to edit it.
  118.  
  119. If you do not want to, simply press
  120.  
  121. the space bar.
  122.  
  123.   If you want to see the entire file,
  124.  
  125. then press the 'D' key for a dump. The
  126.  
  127. records will be displayed in
  128.  
  129. sequential order.  Press the space bar
  130.  
  131. to see the next entries.
  132.  
  133.   If you want to alphabetize your
  134.  
  135. file, press the 'A' key.  You will be
  136.  
  137. asked what field(s) to alphabetize on.
  138.  
  139. If we want to alphabetize by the city
  140.  
  141. in our example, we would tell the
  142.  
  143. computer to alphabetize on field four.
  144.  
  145.   To save your file, press the 'S'
  146.  
  147. key.  You will be asked to verify the
  148.  
  149. fact that you want to save.  You will
  150.  
  151. then be asked if you are using tape.
  152.  
  153. If not, the computer assumes you are
  154.  
  155. using disk.
  156.  
  157.   To load a file, press the 'L' key.
  158.  
  159. You will be asked to verify this
  160.  
  161. action.  Next you'll be asked if you
  162.  
  163. are using tape.  If not, the computer
  164.  
  165. is set for the disk drive.  You will
  166.  
  167. then be given a list of the PEABODY
  168.  
  169. files on that disk. Next, simply type
  170.  
  171. in the name of the file that you want
  172.  
  173. to load.
  174.  
  175.   We have included a sample file on
  176.  
  177. this issue of LOADSTAR.  It is saved
  178.  
  179. under the name of PEABODY TEST.  Just
  180.  
  181. LOAD it and take a look.  It may give
  182.  
  183. you an idea of how to organize your
  184.  
  185. own files.  Don't worry if the data in
  186.  
  187. the file seems a bit strange. After
  188.  
  189. all, it's only an example!
  190.  
  191.    This program is copyrighted by
  192.  
  193. PowerPlay magazine.  All rights to it
  194.  
  195. are reserved.  LOADSTAR has relieved
  196.  
  197. you from the burden of keying in this
  198.  
  199.     program.  For more complete
  200.  
  201. information about this program, refer
  202.  
  203. to the July 1985 issue of PowerPlay
  204.  
  205.              Magazine.
  206.  
  207.  
  208.  
  209. >Files used: PEABODY
  210.              PEABODY TEST  <optional>
  211.              plus any files you create
  212.  
  213. --------------------------------------
  214.