Special Functions Of The - Canon X-07 User Manual

Table of Contents

Advertisement

2.1
Special functions of the X-07
2.1.1.
The timer
There is a timer inside the X-07 which functions even when the power is turned
OFF. To read the contents of the timer, type
PRINT TIME$
15 : 33 : 36
L.
L.
L.
i
i
i
Hr. Min. Sec.
The BASIC processes the values of the timer as values of function. Therefore,
to process values of the timer, use character string functions such as MID$,
RIG HT$ , L EFT $ , VAL , etc.
The assignment instruction is used to set the timer. For example, let's set the
timer to a.m. 11 hours, 26 minutes and 33 seconds.
TIME$=
"11 :26:33''
The timer can be set directly from the keyboard or as a statement in a program
with a line number. The time is assigned to the TIME$ function when the
RETURN key is depresed.
When setting the timer, the hours, the minutes, and the seconds can be omitted
as follows.
TIME$=
"13:
TIME$=
":23:"
TIME$=":
:33"
d)
:"(Hours)
(Minutes)
(Seconds)
57

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents