[Gambas-user] Timer in console projects - help the stupid, please
Stefano Palmeri
rospolosco at ...152...
Thu Jan 25 17:21:28 CET 2007
Hi, all.
I'm working on a *console only* project. The problem is that I'm not able
to make the Timer class working. This is an example code:
PUBLIC hDaemonTimer AS Timer
PUBLIC SUB Main()
hDaemonTimer = NEW Timer
hDaemonTimer.Delay = 1000
hDaemonTimer.Enabled = TRUE
END
PUBLIC SUB hDaemonTimer_Timer()
PRINT "hello world!"
END
I would expect a printing to stdout every 1 second, but I get
nothing on console. So, please, help the stupid and tell me what's wrong.
Gambas2 1.9.47
Thank you all.
Stefano Palmeri
More information about the User
mailing list