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.9 < prev    next >
Text File  |  1984-04-29  |  2KB  |  68 lines

  1. * RECEIVE <variable list>
  2. Transfers values of variables from "GOPROC" or "RETURN" statement
  3. to <variable list>.  The variables on the list are filled in
  4. the same order that the variables appear on the GOPROC or RETURN
  5. statement.  Examples:  RECEIVE X    RECEIVE RES$,ANSWER
  6.  
  7. REM[anything]
  8. Allows insertion of remarks in the program text.  The remarks
  9. must follow the REM statement on the same line.
  10. Examples:  REM   THIS PROGRAM CALCULATES TRIG TABLES
  11.            REMARK   READ THE FILE FROM CASSETTE.
  12.  
  13. RESTORE [<line identifier>]
  14. Sets the READ DATA pointer to the first data statement, or,
  15. optionally, to the statement <line identifier>.  This allows
  16. reading seperate tables or seperate portions of a table without
  17. having to read through all DATA statements.
  18. Examples:  RESTORE      RESTORE TABLE2       RESTORE START+5
  19.  
  20. RETURN [<variable list>]
  21. Causes execution to continue at the statement following the last
  22. "GOSUB" statement executed.  If the optional variable list is
  23. included, passes the values of the variables on the list to
  24. the variables on the list of a "RECEIVE" statement.
  25. Examples:  RETURN    RETURN N    RETURN X$,ANSWER,RESULT$
  26.  
  27. STOP
  28. Terminates execution of the BASIC program, and returns
  29. back to the command mode.  Example:  STOP
  30.  
  31. WAIT <expr1>,<expr2>,<expr3>
  32. An input from port <expr1> is performed.  The byte received
  33. is XOR'd with <expr3> if included, and AND'ed with <expr2>.
  34. The above operation is repeated until a non-zero result is
  35. obtained, upon which the next statement is executed.
  36. Example:  WAIT 0,1    WAIT PORT,MASK,INVERT
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.                9
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.