Re: [Gambas-user] timers in console app

2009-02-01 Thread Benoit Minisini
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 ti

Re: [Gambas-user] timers in console app

2009-02-01 Thread Benoit Minisini
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 d

Re: [Gambas-user] timers in console app

2009-02-01 Thread Doriano Blengino
Joshua Higgins ha scritto: > This is my code, but it doesn't seem to work. > > PUBLIC SUB Main() > > DIM timer1 AS NEW Timer > You must specify the clause ' AS "timer1" ', because no events will be fired otherwise. DIM timer1 AS NEW Timer as "timer1" Not really sure you can do that

Re: [Gambas-user] timers in console app

2009-02-01 Thread Joshua Higgins
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? 2009/2/1 Benoit Minisini > On dimanche 1 février 2009, Joshua Higgins wrote: > > Is it

Re: [Gambas-user] timers in console app

2009-02-01 Thread Benoit Minisini
On dimanche 1 février 2009, Joshua Higgins wrote: > Is it possible to use timers in console apps? Of course. -- Benoit Minisini -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your s

[Gambas-user] timers in console app

2009-02-01 Thread Joshua Higgins
Is it possible to use timers in console apps? -- joshua higgins >>-- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword __