
Chapter
Call Routines 0–68
12
12 -39
Use this routine to set the wall clock time functions.
Important: The Series B, BASIC module does not update the wall clock
for Daylight Savings Time. You must do this manually. (The Series A,
BASIC module, revisions A, B, C and D update the fall time change
correctly but update the spring time change on the third weekend of April
instead of the first weekend.)
Input and Output Arguments
This routine has three input arguments and no output arguments. The input
arguments are the wall clock time functions:
H = hours (0 to 23)
M = minutes (0 to 59)
S = seconds (0 to 59)
Syntax
PUSH hours 0–23
PUSH minutes 0–59
PUSH seconds 0–59
CALL
40
Example
Program the wall clock for 1:35 pm (13:35 on a 24 hour clock).
>10
H=13: M=35: S=00 :REM HOURS=13; MINUTES=35; SECONDS=00
>
20 PUSH H,M,S :REM PUSH HOURS, MINUTES, SECOND
>
30 CALL 40 :REM CALL THE ROUTINE TO SET THE WALL CLOCK TIME
CALL
40: Set the W
all
Clock Time (Hour, Minute,
Second)
Komentarze do niniejszej Instrukcji