Basic
TAN(number)
Returns the tangent of
number. Number
must be in radians.
PRINT TAN(7.96)
S
=
TAN(X)
TIME$[
=
string]
Sets or retrieves the current time. BASIC uses a 24-hour clock.
String
is a literal, enclosed in quotation marks, that sets the time
by assigning its value to TIME$.
If
you omit
string,
BASIC retrieves
the current time.
T
I
ME$
="I
4
:
1
5"
A$=T
I
ME$
TIMER
Returns the number of seconds since midnight or since the last
system reset.
You
can use TIMER as the argument for the RAN-
DOMIZE statement to reseed the random number generator.
PRINTTIMER
A
=
TIMER
TIMER
action
Turns on, turns off, or temporarily halts timer event trapping.
TIMER ON enables timer event trapping.
TIMER OFF disables timer event trapping.
TIMER STOP temporarily suspends timer event trapping.
TROFF
TRON
Turns the trace function onloff. The tracer lets you follow program
flow. TRON turns on the tracer and TROFF turns it off.
TRON TROFF
68
Tandy
1000