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.13 < prev    next >
Text File  |  1984-04-29  |  1KB  |  61 lines

  1. TAB(<numeric expression>)
  2. Spaces to column <numeric expression> on the PRINT device.
  3. If tabbed column is less than the present position, the next
  4. output from PRINT will go on the next line in the correct
  5. position.
  6. Examples:  TAB(20)    TAB(30)    TAB(N*2)    TAB(POSITION)
  7.  
  8. TAN(<numeric expression>)
  9. Returns the tangent of angle <numeric expression>, which is in radians.
  10. Examples:  TAN(DEGREES*3.14/180)    TAN(.25)    TAN(X^2/Y)
  11.  
  12. USR(<expression>)
  13. Calls a user subroutine at the address in the locations FPRAA+6
  14. and FPRAA+7 (see Appendix E).  The <numeric expression> is
  15. evaluated and placed in registers D&E.  The USR function
  16. returns with the value that is returned in D&E.
  17. Example:   USR(0)   USR(N)   USR(N*M)   USR(ARG)
  18.  
  19. VAL(<string expression>)
  20. Returns the numerical value of the string <string expression>.
  21. If the first character is not "-", ".", or a digit, 0 is returned.
  22. Examples:  VAL(FIELD4$)    VAL(COST$)    VAL(A$)
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.                13
  57.  
  58.  
  59.  
  60.  
  61.