home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / LA / LA029.ZIP / INST-TT.TXT < prev    next >
Text File  |  1990-10-01  |  11KB  |  304 lines

  1.  
  2.                             -PAGE 1-
  3.  
  4.                    INSTRUCTIONS CODEMAKER-DISK
  5.                    ---------------------------
  6.  
  7.       If you do not know DOS or your programming language
  8. editor then you may want help using Turbo Template.
  9.  
  10.      Make a back-up copy of your Turbo Template disk. Never
  11. use the original. DOS command "Diskcopy a: a:".
  12.  
  13.      Turbo Template is designed to SAVE YOU, THE COLLEGE
  14. STUDENT, TIME.
  15.  
  16.      If you are not a college student "Don't worry, be happy."
  17. Turbo Template can still save you time.
  18.  
  19.      Turbo Template CodeMaker is designed for college
  20. students writing several homework programs. The CodeMaker
  21. section of the Turbo Template disk is tailored to speed up
  22. the process of producing those programs.
  23.  
  24.      First, Turbo Template encourages designing the homework
  25. program before writing the program code. You must first
  26. outline your homework program before Turbo Template CodeMaker
  27. can write a stub program.
  28.  
  29.      Second, Turbo Template then uses that outline to make a
  30. "stub program". A "stub program" is the skeleton version of
  31. the program you will write.
  32.  
  33.      I am going to use the term "subroutine". If you are
  34. programming in Pascal or C, replace "subroutine" with
  35. "procedure" or "function".
  36.  
  37.      All the subroutines Turbo Template writes are "dummy"
  38. subroutines, yet the program WILL actually COMPILE AND RUN.
  39. Turbo Template CodeMaker creates each dummy subroutine with a
  40. prompt to inform you when you are in that particular
  41. subroutine.
  42.  
  43.      You then fill in the blanks, so to speak. For a "top down"
  44. approach, you would start on the main section of the program and
  45. fill in the necessary code to complete that section. Usually the
  46. program can be tested at this beginning level. The main section
  47. would run and call the appropriate subroutines. You would then
  48. proceed to fill in those next called subroutines and test again.
  49. Continue this pattern until you have completed the homework
  50. program.
  51.  
  52.      Third, Turbo Template structures the program in the
  53. format that the compiler is going to require. In the "C" and
  54. "Pascal" language, the compiler is picky about the order in
  55. which the subroutines are placed.
  56.  
  57.      Fourth, Turbo Template is very happy to do a lot of the
  58. repetitive typing involved in making a program for your
  59. professor. Save the fingers from "Fingeritis".
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                             -PAGE 2-
  68.  
  69.      These instructions you are reading are NOT the Turbo
  70. Template Manual. These instructions are minimal instructions
  71. for getting the feel of Turbo Template. The Turbo Template
  72. Manual has more complete instructions and even some tutorials
  73. for stepping through the Turbo Template CodeMaker sections.
  74. To order the Turbo Template Manual select "Order" on the
  75. Turbo Template Main Menu . The Manual,  Registration #, and
  76. Turbo Template up-to-date disk are only $15.
  77.  
  78.      Before running Turbo Template you must first design your
  79. program. Hours are lost in program writing due to lack of
  80. program design. Profanity is spit at innocent computers
  81. unjustly. Usually we are too anxious and jump right into
  82. coding.  Later we wonder why the program took so long to
  83. develop.
  84.  
  85.      Algorithms are the key to saving time and writing
  86. workable programs.
  87.  
  88.      Save coding time?  Yes, that's right, you will save
  89. valuable homework time by taking a pencil and paper and
  90. designing your program first.
  91.  
  92.      Save debugging time? A well designed program will save a
  93. programmer hours of bug chasing. Plus with a stub program you
  94. can debug as you go.
  95.  
  96.      Save mental block? You will have a stub program to build
  97. your program around and save yourself from "novice
  98. programmers' block".
  99.  
  100.      In all, you will be more productive if you will design
  101. your programs first.
  102.  
  103.      An algorithm is an outline to the steps it's going to
  104. take to solve a problem. If you do not understand algorithms,
  105. go back to the chapter in your textbooks and take the time to
  106. understand  them. This will save you hours of headache (not
  107. to mention the innocent computer's feelings) during the rest
  108. of the semester.
  109.  
  110.      Your algorithm will act as an outline for the stub
  111. program you will build with Turbo Template.  Each line will
  112. act as a subroutine and the description of the code within
  113. the subroutine.
  114.  
  115.      You may want to have a printed copy of these
  116. instructions for your first run through of Turbo Template.
  117. At the DOS prompt the print command is:
  118. "Copy Inst-TT.Txt prn".
  119.  
  120.      After you have designed your program, place the Turbo
  121. Template disk in the A drive. Type "A:" and press ENTER.
  122.  
  123.      At the DOS prompt then type "TTMenu" and press ENTER.
  124.  
  125.      Use the arrow keys to highlight "CodeMaker" section.
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.                             -PAGE 3-
  134.  
  135.      Select your choice of programming languages and press
  136. ENTER.
  137.  
  138.      Turbo Template will now prompt you for your name,
  139. program name (if this is your first time enter "FirstTry"),
  140. Assignment #, Class, date.
  141.  
  142.      When Turbo Template CodeMaker prompts you for the
  143. outline enter something like this:
  144.  
  145. Initialize
  146. PromptUser                 ( An example of an outline )
  147.   Calculate
  148. PrintResults
  149.  
  150.  
  151.      Then press "F10".
  152.  
  153.     If you have not covered "subroutines" in your class yet,
  154. press "F10" without entering any lines in the outline
  155. section.  Turbo Template CodeMaker will still make a program
  156. for you.
  157.  
  158.      Turbo Template will then ask you to select the type of
  159. program extras you would like included in your program. If
  160. this is your first time enter "Medium".  Experiment with the
  161. other settings later.
  162.  
  163.      "KitchenSink" has an elaborate amount of extras.
  164.      "Medium" is the most preferred.
  165.      "BareBones" gives your program the bare necessities.
  166.  
  167.      Turbo Template will prompt you for a line character.
  168. Press ENTER for default character. Experiment with the other
  169. settings later.
  170.  
  171.      Turbo Template will now ask you for eight letters or
  172. less to name your program. This is not always the same as
  173. your program name. It is the name that will be written to the
  174. current drive and directory in which you are working. No
  175. extension is necessary. Turbo Template will automatically add
  176. a "Bas" extension to a Basic program as well as an extention
  177. for the other program languages. If this is your first time
  178. enter "FirstTry".
  179.  
  180.      You should now be back at the main menu and Turbo
  181. Template has successfully written a stub program for you. All
  182. you have to do is fill in the blanks, so to speak.
  183.  
  184.      Quit Turbo Template and enter "Dir" or "Dir/w" at the
  185. DOS prompt to see if the stub program is added to the
  186. directory. You now may want to place your program in the drive
  187. and directory where your programming language editor is
  188. located.
  189.  
  190.      Load your language editor then load your stub program
  191. and prepare to edit your newly created stub program. If you
  192. do not know how to do this read on. For more indepth
  193. instructions see the Turbo Template Manual.
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                             -PAGE 4-
  203.  
  204.                HOW TO LOAD EDITOR AND STUB PROGRAM
  205.  
  206.      For a generic description, I am supposing that the Turbo
  207. Template disk is in the "A" drive and GWBasic is on the "C"
  208. drive.
  209.  
  210.      If the stub program you created is in the "A" drive on
  211. your "Turbo Template" disc and your Basic language editor is
  212. on the "C" drive under the "Basic" directory, then the simple
  213. way of copying "FirstTry.Bas" would be to first change
  214. drives. To do this at the DOS prompt type in the drive letter
  215. and then a colon. "C:".
  216.  
  217.      You should now be in the "C" drive. The DOS prompt
  218. should no longer read "A" but "C". To change to the Basic
  219. directory one would now type in "CD\Basic" assuming that
  220. GWBasic is under the "Basic" directory and that the Basic
  221. directory is under the root "\" directory.
  222.  
  223.     If it is not, I can not help you with that. It could be
  224. in a thousand and one different places.
  225.  
  226.      If you have successfully found your language editor
  227. program, you are ready to copy the file from the Turbo
  228. Template disk still in drive "A". The DOS command would be
  229. "copy a:FirstTry.Bas". "FirstTry.Bas" stands for the program
  230. name with extension. If DOS didn't bark at you, enter "dir"
  231. and you should now see "FirstTry.Bas" included in the files
  232. on the "C" drive.
  233.  
  234.      Load your language editor. In Basic the command would
  235. most likely be "GWBasic" or "Basica" or "Basic".
  236.  
  237.      Now load your newly created stub program. In Basic the
  238. command is  ' Load"FirstTry" '.  You should now be ready to
  239. edit the stub program to your liking.
  240.  
  241.      If you do not know how to use a stub program, look up "stub
  242. programming" in your textbook, or better yet, order the Turbo
  243. Template Manual.
  244.  
  245.      The Turbo Template MANUAL has a tutorial that teaches you
  246. how to make a complete program.  The tutorial will step you
  247. through designing the program, entering the outline, adding the
  248. code to the stub program, and finally running the code.
  249.  
  250.      If you do not have a Turbo Template Manual and a
  251. registered up-to-date disk then select "Order" on the Turbo
  252. Template Main Menu.
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.      ___________________________________________________________
  271.      |                         ___      ____                   |
  272.      |                    |\/| |_  |\/| |  |                   |
  273.      |                    |  | |__ |  | |__|                   |
  274.      |_________________________________________________________|
  275.      | TO:             All Turbo Template V1.0 users.          |
  276.      | CONCERNING:     Capabilities of V2.0.                   |
  277.      |---------------------------------------------------------|
  278.      | 1. V2.0 handles 100 program size (80 extra subroutines).|
  279.      | 2. V2.0 includes a simple highlight menu maker.         |
  280.      | 3. V2.0 has an editor (word processor) for working on   |
  281.      |    your newly created program without exiting Turbo     |
  282.      |    Template.                                            |
  283.      | 4. V2.0 has a customizing feature: Would you like to    |
  284.      |    customize the program header? Would you like to lay- |
  285.      |    out the subroutines to your specifications? V2.0     |
  286.      |    can customize your programs the way you want them.   |
  287.      | 5. V2.0 is not limited to the four V1.0 languages.      |
  288.      |    Use V2.0 with any computer programing language.      |
  289.      | 6. With your feedback, V2.0 will continue to change     |
  290.      |    and be updated to be the best it can be.             |
  291.      |---------------------------|-----------------------------|
  292.      | DUE DATE: Early 1991      | FROM:  KrikWare             |
  293.      |___________________________|_____________________________|
  294.  
  295.  
  296.      For a printed copy of the Turbo Template disk
  297. Instructions, enter at the DOS prompt: "Copy Inst-tt.Txt prn".
  298.  
  299.  
  300.  
  301. KrikWare
  302. P.O. Box 67205
  303. Scotts Valley  CA  95067-7205
  304.