HTBasic Help
×
Menu
Index

set time Example

10    Current_time=TIMEDATE
20    CLEAR SCREEN
30    PRINT "Setting time to 1:00 P.M."
40    SET TIME TIME("13:00:00")
50    PRINT "Press CONT to continue..."
60    PAUSE
70    SET TIMEDATE Current_time        !Change the timedate to Current_time.
80    PRINT "The time might be off a bit."
90    END