Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Dmi
Posts: 408 Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:
Post
by Dmi » Wed Nov 22, 2006 7:49 am
Hi, Lutz!
The "ticker" example from the manual stops working after midnight under Win2k. (not tested under *nix).
Code: Select all
(define (ticker)
(println (date))
(timer 'ticker 1.0)
)
Code: Select all
Wed Nov 22 23:59:54 2006
Wed Nov 22 23:59:55 2006
Wed Nov 22 23:59:56 2006
Wed Nov 22 23:59:57 2006
Wed Nov 22 23:59:58 2006
Wed Nov 22 23:59:59 2006
Thu Nov 23 00:00:00 2006
...and no more output is produced
How can I pass into the next day?
newlisp v.9.0.
WBR, Dmi
cormullion
Posts: 2038 Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:
Post
by cormullion » Wed Nov 22, 2006 10:34 am
It seems to work OK on MacOS X (Unix, newlisp v9.0) - I reset the system clock to 23:55 and watched it till 00:02...
(And how have you managed to reach Thursday already - I'm still struggling with Wednesday here :-))
Lutz
Posts: 5289 Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:
Post
by Lutz » Thu Nov 23, 2006 1:58 pm
This is fixed for Win32 in version 9.0.4.
Lutz
Dmi
Posts: 408 Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:
Post
by Dmi » Thu Nov 23, 2006 2:39 pm
Many Thanx, Lutz!
WBR, Dmi