home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / modem / jbtutor1.zip / LESSON1.TXT < prev    next >
Text File  |  1993-09-19  |  2KB  |  39 lines

  1.         The first step one should take when writing a script (or any
  2. program, for that matter) is collect your thoughts on what it is you
  3. want the script to do for you.  You should write down the general
  4. sequence of things in "plain English".  For example, let's suppose
  5. you want to write a mailrun script.  Your initial cut at the process
  6. might look like this on a sheet of paper (or text file):
  7.  
  8.                      WHAT I WANT MY SCRIPT TO DO
  9.                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  10.  
  11. 1.  Select which BBS(s) to call
  12. 2.  Dial those BBSs in sequence
  13. 3.  Logon to each board after a successful connection
  14. 4.  Go to the mail door
  15. 5.  Upload/Download mail
  16. 6.  Logoff
  17.  
  18.         As you can see, several of these categories are very broad in
  19. nature and will probably require expansion..that's ok.  The purpose
  20. of the first step is to prepare you for the next step which is:
  21. FLOWCHARTING.
  22.  
  23. END OF LESSON #1
  24.  
  25. Preview of coming attractions:  Lesson #2: Flowcharting, Lesson #3:
  26. Pseudocode, Lesson #4 - ?: Coding the program, Lesson #?+1: Testing
  27. the program, Lesson #?+2: Debugging the program
  28.  
  29. NOTE:  I am going to assume that you (and anyone else who's
  30. interested in learning something here) will take the initiative to
  31. become familiar with the {COMMO} macro commands..consider that your
  32. "homework"..<g>.  I will provide lessons on how to actually *use* the
  33. commands.  I don't want to get into discussing command syntax,
  34. though (other than as a debugging aid), since that aspect is covered
  35. well already by the COMMO macro language docs..
  36.  
  37. Jim
  38.  
  39.