home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / utility / struct / pasflow / pasflow.txt < prev   
Text File  |  1990-03-06  |  6KB  |  177 lines

  1.                          Using PASFLOW.
  2.  
  3. Say you have a file called popup.pas. Maybe it is not working
  4. quite to your liking or specifications. Maybe you just want to
  5. smarten up the file so you can read it yourself or demonstrate
  6. your masterpiece to others.
  7.  
  8. Your tool is PASFLOW. Proceed as follows:
  9.  
  10. Type PASFLOW
  11.  
  12. A Menu will appear.
  13.  
  14. Type in the name of the file under investigation on the first
  15. line.
  16. Call the other file NEW (no extension needed or wanted).
  17. PASFLOW normally checks for unbalanced parentheses, double
  18. inverted commas and single inverted commas.
  19. If these checks are a nuisance and interfere with your
  20. program, you may have to switch them off with the switches
  21. provided. Use the space-bar to switch. You may switch any or
  22. all the switches.
  23.  
  24. PASFLOW will quickly produce 3 files which in this case will
  25. be called :
  26.  
  27. NEW.GRA
  28. NEW.EXP
  29. NEW.STR
  30.  
  31. and you still have the original file by the name of popup.pas
  32.  
  33. Both NEW.EXP and NEW.STR can be used as input to the compiler
  34. as ordinary 'PAS' files. NEW.STR the STRipped file has no
  35. leading spaces. You will find that this file is the most
  36. compact of the three. NEW.EXP is the smartest and is EXPpanded
  37. (indented) as you would have done were you to be really tidy.
  38.  
  39. When you are correcting logic errors, you input the new.gra to
  40. your text editor.
  41. You may now edit, insert, move, import other files or whatever
  42. else you need to do when editing. Totally disregard the
  43. flowlines and angles, they are there only as a help to you and
  44. you can reproduce them easily in the next file with the
  45. help of PASFLOW. When you think you are finished call PASFLOW
  46. again.
  47.  
  48. This time use NEW.GRA (the altered file) as the source code.
  49. Use the name TEST as the second name (no extension).
  50.  
  51. PASFLOW now realises that it has an altered file NEW.GRA as
  52. the input and strips the graphics out. It will also ask you if
  53. you want to overwrite the old file.
  54. If you answer 'Y' or 'y' you will need to input the file name
  55. again. Until you get familiar with the program - use any name
  56. of your own chosing, later you will overwrite your original
  57. source code, as you surely have the original saved on a
  58. different drive or disk. (Have you ?).
  59.  
  60. Whatever your answer you will have 3 files, the first two are
  61. :
  62. TEST.STR and
  63. TEST.GRA and
  64. either TEST.EXP or the altered file as say POPUP.PAS
  65. Naturally you may alter TEST.GRA any number of times and put
  66. the altered file through PASFLOW again. This time make the
  67. second filename NEW.
  68.  
  69. The idea of using NEW and TEST is to keep overwriting the same
  70. area and so save disk space. The names are otherwise up to you
  71. and as the program is Australian you could call the files
  72. Bruce & Sheila and do no harm at all.
  73.  
  74. You will shortly find yourself using PASFLOW for all files
  75. larger than 24 lines.
  76. Remember we have similar programs for 'C' and dBASE.
  77.  
  78. Due to the different styles used to write PASCAL programs we
  79. have had to edit your program slightly. If you are the
  80. programmer taught by Kerningham and Plauger - you should be
  81. OK. Their programs are passed with little or no alteration. If
  82. you like to write (style not logic) as the following :
  83.  
  84. IF THE CAT FALLS OFF THE CHIMNEY
  85.      THEN
  86.           BEGIN
  87.  
  88. We are sorry, it will be converted to a one liner as
  89.  
  90. IF THE CAT FALLS OFF THE CHIMNEY THEN BEGIN.
  91.  
  92. This process makes sure that the Graphics writer can make
  93. sense of the program. When you are finished and the program is
  94. working, you can convert it to whatever form you like - we had
  95. to pick a way for the graphics writer and were sure that the
  96. way of the aforementioned gents should be useful.
  97.  
  98.  
  99. While the program is working for you, think of the author who
  100. would appreciate $ 35.00 (Australian) + $ 5.00 post and
  101. handling for the idea and work involved in a program that any
  102. programmer who is seriously working in PASCAL is going to use
  103. 5 to 10 times per day .
  104.  
  105. The Name and Address for registration is as follows:
  106.  
  107. Apotek Software,
  108. 2 Acton Rise,
  109. Kingsley,
  110. Perth,
  111. Australia 6026.
  112. Phone Number is (09) 409 9662.
  113. Please remember we are 8 hours ahead of GMT (London time)
  114.  
  115.  
  116. Copyright (c) 1989 Apotek Software.  All rights reserved.
  117.  
  118. LICENSE
  119.  
  120. You are granted a limited license to use and examine  on a
  121. trial basis to determine if PASFLOW is suitable for your
  122. needs.  If you find PASFLOW useful and use it on a regular
  123. basis, you are requested to register with APOTEK as a user.
  124.  
  125. Once you have registered, you are granted a license to use the
  126. PASFLOW program for you own personal or business use.
  127.  
  128. You may not distribute PASFLOW with any other product or
  129. service without written permission of the copyright holder.
  130.  
  131. WARRANTY
  132. PASFLOW AND ALL ACCOMPANYING MATERIALS ARE PROVIDED "AS IS"
  133. WITHOUT WARRANTY OF ANY KIND.  THE ENTIRE RISK OF USING
  134. PASFLOW IS ASSUMED BY YOU.
  135. Apotek Software  makes no warranty of any kind, express or
  136. implied, including but not limited to any warranties of
  137. merchantability and fitness for a particular purpose.
  138.  
  139. IN NO EVENT WILL APOTEK SOFTWARE BE LIABLE FOR ANY DAMAGES
  140. WHATSOEVER (INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS OF
  141. BUSINESS PROFITS, LOSS OF SAVINGS, BUSINESS INTERRUPTION, AND
  142. THE LIKE) ARISING OUT OF YOUR USE OR INABILITY TO USE THE
  143. PROGRAM.
  144.  
  145. BY USING PASFLOW, YOU AGREE TO THE ABOVE LIMITATIONS.
  146. Registration is necessary only once - registration allows you
  147. licensed use of all upgrades to the product.
  148.  
  149. There are three types of licenses available;
  150.  
  151.     1) individual  (registration only),
  152.     2) individual (registration with disk), and
  153.     3) commercial.
  154.  
  155. Registration is required if PASFLOW is used in a commercial
  156. environment.
  157.  
  158. The individual (registration with disk) license fee of $35.00
  159. establishes you as a registered user of PASFLOW and upon
  160. receipt of your license fee, you will be mailed a diskette
  161. containing the  most recent full version of PASFLOW.
  162.  
  163.  
  164. P.S. Some editors need an extra kick to display the
  165. characters. Sidekick needs the cntl QG. If the *.GRA shows 3'
  166. where there should have been a graphics character, please
  167. refer to your instruction for the Editor.
  168.  
  169.  
  170. APOTEK SOFTWARE,
  171. 2 Acton Rise,
  172. Kingsley,
  173. PERTH 6026.
  174. Australia (09) 409-9662.
  175. P.S. Remember we are 8 hours ahead of G.M.T.
  176. 
  177.