Commodore 128 System Manual page 354

Hide thumbs Also See for 128:
Table of Contents

Advertisement

EXAMPLE:
A(7), BZ%(11), A $(87)
Arrays can have more than one dimension. A two-dimensional
array may be viewed as having rows and columns, with the first
number identifying the row and the second number identifying the
column (as if specifying a certain grid on the map).
EXAMPLE:
A(7,2), BZ%(2,3,4), Z$(3,2)
RESERVED VARIABLE NAMES are names reserved for use by
the Commodore 128, and may not be used for another purpose.
These are the variables DS, DS$, ER, ERR$, EL, ST, Tl and Tl$.
KEYWORDS such as TO and IF or any other names that contain
KEYWORDS, such as RUN, NEW or LOAD cannot be used.
ST is a status variable for input and output (except normal
screen/keyboard operations). The value of ST depends on the
results of the last I/O operation, ln general, if the value of ST is 0,
then the operation was successful.
Tl and Tl$ are variables that relate to the real time clock built into
the Commodore 128. The system clock is updated every 1 /60th
of a second. It starts at 0 when the Commodore 128 is turned on,
and is reset only by changing the value of Tl$. The variable Tl
gives the current value of the clock in 1 /60th of a second. Tl$ is
a string that reads the value of the real time clock as a 24-hour
clock. The first two characters of Tl$ contain the hour, the third
and fourth characters are minutes and the fifth and sixth
characters are seconds. This variable can be set to any value (so
long as all characters are numbers) and will be updated
automatically as a 24-hour clock.
EXAMPLE:
Tl$ = " 101530" sets the clock to 10:15 and 30 seconds
(AM)
The value of the clock is lost when the Commodore 128 is turned
off. It starts at zero when the Commodore 128 is turned on, and is
reset to zero when the value of the clock exceeds 235959 (23
hours, 59 minutes and 59 seconds).
19-4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents