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.3 < prev    next >
Text File  |  1984-04-29  |  3KB  |  66 lines

  1. Commands:
  2.  
  3. * BYE
  4. Causes a jump to location 0000 in memory.  Example:  BYE
  5.  
  6. * CADD <variable name>
  7. Causes the program on cassette tape designated by the first character 
  8. of <string expression> to be loaded into memory in addition to any
  9. programs already in memory.  This will allow the user to build a
  10. library of subroutines and use them in various programs without
  11. forever having to re-enter them.  Other features, such as procedures,
  12. assist in this function.  Example:  CADD T
  13.  
  14. CLEAR [<expression>]
  15. Sets all program variables to zero.  Sets all strings to nulls.
  16. Releases all string and array space.  In ALTAIR BASIC,
  17. "CLEAR <<expression>>" defines the amount of space to allot
  18. for strings.  TARBELL BASIC will automatically allot all space not
  19. being used for actual programs to strings and arrays.  To maintain
  20. compatability with ALTAIR BASIC, "CLEAR <expression>" will be
  21. processed identically to the CLEAR command.
  22. Examples:  CLEAR        CLEAR 2000  (does the same thing)
  23.  
  24. CLOAD <variable name>
  25. If TARBELL BASIC is in command mode, the program on tape defined
  26. by the first letter of <variable name> is loaded into memory.  A
  27. "NEW" command is automatically issued before the program is loaded.
  28. If TARBELL BASIC is in the program mode, that is, a program is
  29. running, this command causes the data comming from the recorder
  30. to be assigned to <variable name>.  The type of the variable
  31. name must match the type of data being read.
  32. Examples:  CLOAD I    CLOAD PROGRAM        CLOAD DATA
  33. NOTE:  If a syntax error is discovered in a line being read in
  34.        from cassette, the line will be stored as a REMark.
  35.  
  36. CLOAD? <variable name>
  37. Compares the program or data in memory with the program or data
  38. on cassette tape with the same name.  If they are the same, 
  39. "FILE OK" is printed.  If not, "BAD FILE" is printed.
  40. Examples:  CLOAD? I    CLOAD? PROGRAM        CLOAD? DATA
  41.  
  42. CONT
  43. Continues program execution after a control/C has been input or
  44. after a "STOP" or "END" statement has been executed.  Execution
  45. resumes at the statement following the break, unless an input
  46. from the terminal was interrupted.  In the latter case, execution
  47. resumes with the interrupted statement.  Execution cannot be
  48. continued if the program or variables were modified by direct
  49. mode entries.  Example:    CONT
  50.  
  51. CSAVE <variable name>
  52. If TARBELL BASIC is in command mode, this command saves the
  53. program currently in memory, on cassette tape, under the name
  54. specified by the first character of <variable name>.  If TARBELL
  55. BASIC is running a program, the value of <variable name> is saved.
  56. Examples:    CSAVE I        CSAVE PROGRAM    CSAVE DATA
  57.  
  58.  
  59.                 3
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.