home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / SIMTEL / CPMUG / CPMUG031.ARK / TBASIC.4 < prev    next >
Text File  |  1984-04-29  |  3KB  |  70 lines

  1. * CSAVE!
  2. Causes TARBELL BASIC to write itself and optionally,  system monitor
  3. onto cassette tape.  This is handy for making patches.
  4. Example:    CSAVE!
  5.  
  6. * DELETE <line descriptor> [<line descriptor>]
  7. Eliminates the line(s) indicated from the stored program.  If only
  8. the first <line descriptor> is present, only that one line is deleted.
  9. If both <line descriptor>'s are present, both those lines, and
  10. all lines in between are deleted.  If there is no such line
  11. descriptor, an error message is issued.
  12. Examples:    DELETE START+4        DELETE LOOP LOOP+5
  13.  
  14. * ENTER [<line descriptor>]  or  :[<line descriptor>]
  15. Causes TARBELL BASIC to go to program entry mode.  Any input after
  16. this statement is interpreted as program statements.  A carriage
  17. return delimits each line.  The "ENTER" statement is provided to
  18. allow statements without names to be entered.  If <line descriptor>
  19. is ommitted, entry begins after the last statement currently in
  20. memory.  If <line descriptor> is present, entry begins immediately before
  21. the line indicated.  Entry mode is terminated by two carriage returns 
  22. in a row.  Multiple statements per line are allowed if separated by a colon.
  23. The colon shown in the command format above, however, is a shorthand
  24. form of ENTER, the same way that "?" is a shorthand form of PRINT.
  25. The first line in a program should always have a label.
  26. If any of the following commands are invoked from entry mode, they
  27. will be performed, then command mode will be reentered:
  28.   LIST,DELETE,EDIT,RUN.
  29. Examples:    ENTER        ENTER ADDC+3     ENTER LOOP     : START+1
  30.  
  31. LIST [<line descriptor>] [<line descriptor>]
  32. Lists the program starting from the statement corresponding with
  33. the first <line descriptor>, until the end is reached, if there is no
  34. second <line descriptor>, or until a control/C is entered.
  35. If neither <line descriptor> is present, the whole program is listed.
  36. Examples:    LIST     LIST START+10     LIST LOOP END1
  37.  
  38. NEW
  39. Deletes the program in memory, clears all variables, releases all
  40. string and array space.  Example:   NEW
  41.  
  42. RUN [<line descriptor>]
  43. If the line descriptor is included, starts execution of the BASIC
  44. program at the line specified.  If the line descriptor is ommitted,
  45. execution begins at the first line in memory.  In either case, a
  46. CLEAR is automatically executed first.
  47. Examples:   RUN        RUN COMD    RUN SUBROUTINE+1
  48.  
  49. * SYMBOL
  50. Types a table of variable names, line descriptors, their types and
  51. their locations.  Example:    SYMBOL
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.                 4
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.