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 >
Wrap
Text File
|
1984-04-29
|
1KB
|
61 lines
TAB(<numeric expression>)
Spaces to column <numeric expression> on the PRINT device.
If tabbed column is less than the present position, the next
output from PRINT will go on the next line in the correct
position.
Examples: TAB(20) TAB(30) TAB(N*2) TAB(POSITION)
TAN(<numeric expression>)
Returns the tangent of angle <numeric expression>, which is in radians.
Examples: TAN(DEGREES*3.14/180) TAN(.25) TAN(X^2/Y)
USR(<expression>)
Calls a user subroutine at the address in the locations FPRAA+6
and FPRAA+7 (see Appendix E). The <numeric expression> is
evaluated and placed in registers D&E. The USR function
returns with the value that is returned in D&E.
Example: USR(0) USR(N) USR(N*M) USR(ARG)
VAL(<string expression>)
Returns the numerical value of the string <string expression>.
If the first character is not "-", ".", or a digit, 0 is returned.
Examples: VAL(FIELD4$) VAL(COST$) VAL(A$)
13