[Gambas-user] timers in console app
Benoit Minisini
gambas at ...1...
Sun Feb 1 20:07:16 CET 2009
On dimanche 1 février 2009, Benoit Minisini wrote:
> On dimanche 1 février 2009, Joshua Higgins wrote:
> > This is my code, but it doesn't seem to work.
> >
> > PUBLIC SUB Main()
> >
> > DIM timer1 AS NEW Timer
> > timer1.Delay = 100
> > timer1.Enabled = TRUE
> >
> > END
> >
> > PUBLIC SUB timer1_Timer()
> >
> > PRINT "hello"
> >
> > END
> >
> > Whats wrong here?
>
> See the documentation of NEW: if you don't specify an event time, your
> timer will never raise events. ^
> /|\
> Regards, |
|
name ----------------------------------------------------------'
--
Benoit Minisini
More information about the User
mailing list