[Gambas-user] timers in console app

Doriano Blengino doriano.blengino at ...1909...
Sun Feb 1 20:03:08 CET 2009


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, may be you must DIM the timer and then 
do timer1 = new timer as "timer1".

Regards,

-- 
Doriano Blengino

"Listen twice before you speak.
This is why we have two ears, but only one mouth."





More information about the User mailing list