Posted by Grant Foraker on November 03, 2005 at 12:25:07:
In Reply to: How do you read the clock? posted by Jay Hubbell on November 03, 2005 at 12:15:36:
Do a DSTAT on the clock to reset.
Do something like the following to get the time.
!=================== GET TIME FROM SYSTEM================
CLOSE (49)
OPEN (49) 'CLX', EXCP = TRYCL1
INPUT (49) TIME$
CLOSE (49)
RETURN
TRYCL1:
OPEN (49) 'CL1'
INPUT (49) TIME$
CLOSE (49)
RETURN