Action: The TI function reads the interval Timer. This type of "clock" is called a "jiffy clock." The "jiffy clock" value is set at zero (initialized) when you power-up the system. This 1/60 second interval timer is turned off during tape I/O.
EXAMPLE of TI Function:10 PRINT TI/60 "SECONDS SINCE POWER UP"
Action: The TI$ timer looks and works like a real clock as long as your system is powered-on. The hardware interval timer (or jiffy clock) is read and used to update the value of TI$, which will give you a TIme $tring of six characters in hours, minutes and seconds. The TI$ timer can also be assigned an arbitrary starting point similar to the way you set your wristwatch. The value of TI$ is not accurate after tape I/O.
EXAMPLE of TI$ Function:
1 TI$ = "000000": FOR J=1 TO 10000: NEXT: PRINT TI$ 000011
This page has been created by Sami Rautiainen. | |
Read the small print. | Last updated November 08, 1998. |