home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / steel24.zip / EXTRA < prev    next >
Text File  |  1980-01-01  |  7KB  |  156 lines

  1. .OP  
  2.  
  3.                     More System Design Notes
  4.  
  5. 1«á DECID┼á HO╫ YO╒ WAN╘ T╧ SE╘ U╨ YOU╥ FILE╙ AN─ HO╫ TH┼á SHOUL─ ì
  6. RELAT┼ T╧ EAC╚ OTHER«  D∩ i⌠ oε pape≥ first«  
  7.     For each file decide 
  8.      1. the fields
  9.      2. the type of each field 
  10.      3. the input option for each field
  11.      4. the maximin and minimums if any
  12.      5. the realtime transfers
  13.      6. the screen
  14.  
  15. II«á Ente≥á thσá file≤á anΣ the≥ description≤á usinτá thσá custoφ ì
  16. programs«á  Ente≥ thσ inpu⌠ options¼á maximin≤ anΣ minimums¼á thσ ì
  17. screen. and the realtime transfers.
  18.  
  19.      TEST EACH FILE OUT TO MAKE SURE YOU SET IT UP RIGHT
  20.  
  21. III«  Se⌠ u≡ thσ form≤ anΣ transfers«  Se⌠ theφ u≡ oε pape≥ firs⌠ ì
  22. then enter them then TEST THEM.
  23.  
  24. IIII« Deletσ an∙ unuseΣ portion≤ oµ thσ maiε prograφ t∩ savσ morσ ì
  25. space for your programs.
  26.     1. Delete the tax tax table protion of the program if you are
  27.           not using tax tables 45,000-
  28.     2. Delete the realtime transfer section of the program if you
  29.           are not using realtime transfers 60,000-
  30.     3. Delete the dimensions for any variables you are not using
  31.     4. If you still need more room you delete further unneeded  
  32.           parts of the program.
  33.  
  34.   II«á  Writσ you≥ owε "maiε menuó int∩ thσ maiε program«á  Writσ ì
  35. you≥á owε submenus«á  Yo⌡ caε direc⌠ thσ flo≈ oµ thσá prograφá t∩ ì
  36. your main menu at line 100.
  37.                               
  38. 100 GOTO 62000
  39.    .  .
  40. 62000 REM MAIN MENU
  41. 62010 CLS
  42. 62020 PRINT "        Main Menu  "
  43. 62030 Print "  1 - Enter a Payment "
  44. 62040 Print "  2 - Change a Order  "
  45. 62050 Print "  3 - Look at a customers record "
  46. 62060 Print " Enter the number of the option you want "
  47.  
  48. VI«á  Fo≥á eacΦ choisσ iε thσ menu≤ writσ ß subroutinσ t∩á handlσ ì
  49. each option.  Test each subroutine out one at a time.
  50. - Yo⌡á ma∙á wan⌠ t∩ writσ subroutine≤ ou⌠ tha⌠á chaiεá thσá FORM¼ ì
  51. TRANSFER and other programs. 
  52.  
  53. VII.  Write any changes to any other programs.
  54.  
  55. VIII. Test you entire system as a whole
  56. èIX«á  Writσ ou⌠ thσ part≤ oµ thσ program≤ tha⌠ acces≤ thσ prograφ ì
  57. datß disδ b∙ writinτ iε thσ variable≤ int∩ thσ program«á  Thi≤ i≤ ì
  58. optional«á  B∙á no⌠ accessinτ thσ prograφ datß disδ you≥ program≤ ì
  59. wil∞ ruε faste≥ anΣ yo⌡ wil∞ no⌠ troublσ thσ use≥ witΦ puttinτ iε ì
  60. the program data disk.  
  61.       InsteaΣá oµá readinτ thσ variable≤ froφ thσá file≤á oεá thσ ì
  62. program data disk define each variable in the main program.  
  63.  
  64. X. Compile your program (optional).
  65.  
  66.  
  67.                          Main Flowchart
  68.  
  69.      Thi≤ flowchar⌠ doe≤ no⌠ usσ standarΣ flowchar⌠ symbol≤ a≤ i⌠ ì
  70. is difficult to put diamonds and circles on a word processor.
  71. The numbers refer to the line numbers 
  72.         
  73.                 Define All Variables as integers
  74.                excepts X which is double precision
  75.                             |
  76.               Define the dimension of all variables
  77.                             |
  78.                   Print the introduction 50000
  79.                             |
  80.              Ask if you are using a hard disk 16800
  81.                             |
  82.                    Read the screen file 27000
  83.                             |
  84.                       Read the FFILE  10000
  85.                             |
  86.                     Read the IDEX file 29000
  87.                             |
  88.                   Read the Realtime file 60000
  89.                             |
  90.                      Read Keylist file 11000
  91.       --->-->-------------- |
  92.       |      Which file do you want ? 410-
  93.       |                     |---------->-------->---End Program
  94.       |                     |                        if none
  95.       |      Which disk drive is the file on ? 2300-
  96.       |                     |
  97.       |     If realtime transfers which disk drive is
  98.       |     the realtime transfer file on 60200
  99.       |                     |
  100.       |                     |---------->-------->------          
  101.       |                  FILE OPTIONS                 |
  102.       |       On the file option chosen goto          |
  103.       | change              |                         |
  104.       |--<----|             |                         |
  105.         files               |                         |
  106.                             |                         |
  107.               Goto the code that does the option      |
  108.                             |------>-------->----------
  109.  
  110. è      ╔á aφá addinτ alo⌠ morσ documentation«á  Yo⌡ migh⌠ wan⌠á t∩ ì
  111. senΣá fo≥á thσá reviseΣ prograφ witΦá morσá documentatioεá  afte≥ ì
  112. Augest 84.
  113.  
  114.                    HOW TO COMPILE THE PROGRAMS
  115.  
  116. 1«á AdΣ erro≥ trapping«  SuggesteΣ erro≥ trappinτ subroutine≤ arσ ì
  117. oε disδ ┤ a≤ TEM╨ anΣ CTEMP«  Yo⌡ caε mergσ thσ TEM╨ witΦ al∞ thσ ì
  118. operation≤á program≤ excep⌠ thσ Sor⌠ anΣ TestascΘ Programs«á  Yo⌡ ì
  119. can merge the CTEMP program with all the custom programs. 
  120.  
  121. 2«á Iµá yo⌡ arσ usinτ thσ Microsof⌠ Basiπ Compile≥ whicΦ doe≤ no⌠ ì
  122. havσá thσ CL╙ (clea≥ screen⌐ anΣ LOCAT┼ comand≤ yo⌡ wil∞ havσá t∩ ì
  123. usσá thσá assembl∙á lanuagσ subroutie≤ tha⌠á ╔á havσá provieΣá t∩ ì
  124. simulatσá thσá CL╙ anΣ LOCAT┼ Commands«á  Thσ filσá CLS.OB╩á wil∞ ì
  125. clea≥á thσ screen«á  Thσ filσ LCATE.OB╩ wil∞ locatσ thσ curso≥ oε ì
  126. thσ screen«  Seσ m∙ samplσ subroutine≤  iε thσ TEM╨ anΣ CTEM╨ fo≥ ì
  127. aε examplσ oµ ho≈ t∩ cal∞ thσ assembl∙ languagσ subrouties«  Als∩ ì
  128. i⌠á help≤á t∩ reaΣ you≥ Compiler'≤á manual«á  Usσá "CAL╠á CSREENó ì
  129. insteaΣá oµá CLS«á   Usσ "CAL╠ LCATE(TC%,TL%)ó insteaΣ oµá LOCAT┼ ì
  130. x,y« Yo⌡ als∩ havσ t∩  subtrac⌠ ▒ froφ thσ linσ numbe≥ anΣ ▒ froφ ì
  131. thσá columεá numbe≥á becausσ thσ assembl∙  screeε start≤á a⌠á 0,░ ì
  132. whilσá thσá basiπ screeε start≤ a⌠ 1,1«á  Linδá thσá objec⌠á codσ ì
  133. programs together with the Linker, for example MAIN+CLS+LCATE.  
  134.  
  135. 3«á Thσá sor⌠á prograφá wil∞ no⌠ compilσ becausσá variable≤á werσ ì
  136. redimensioned«á  Thσ sor⌠ programs¼á SORT¼ SORTIN╘ (sor⌠ integer⌐ ì
  137. and SORTSTR (sort string) programs on disk 4 will compile.
  138.  
  139. 4. Compile the programs using the /E switch for error trapping.
  140. Thσá large≥á program≤ wil∞ requirσ yo⌡ t∩ usσ thσá /╙á switcΦá t∩ ì
  141. avoid running out of memory.  Use the /O switch at your option.
  142.  
  143. 5«á Therσá arσ ß fe≈ error≤ iε thσ Microsof⌠ Basiπ compiler«á  I⌠ ì
  144. like≤á t∩ ski≡ ß linσ beforσ printinτ ß lonτ strinτá righ⌠á afte≥ ì
  145. locate« Thσ compile≥ als∩ like≤ t∩ adΣ aε extrß recorΣ containinτ ì
  146. zero≤á a⌠ thσ enΣ oµ thσ files«á   Dependinτ oε wha⌠ compile≥ yo⌡ ì
  147. havσ yo⌡ ma∙ ruε int∩ thesσ problems«  ╔ havσ onl∙ ruε int∩ thesσ ì
  148. problem≤á iεá thσ maiε program«á  ╔ havσ avoideΣ thσá probleφá b∙ ì
  149. changing» addinτ thσ followinτ lines« 
  150.  
  151. 9069 PRINT ""
  152. 60410 IF T3 = 0 THEN RETURN
  153. DELETE 41096
  154. 8520 PRINT "****  OPTIONS : ****"
  155. 44930 PRINT "****  OPTIONS : ****"
  156.