[Gambas-user] Function Timer and Object Timer.

Benoit Minisini gambas at ...1...
Mon Nov 24 14:14:05 CET 2003


On Monday 24 November 2003 08:34, Leo Barnhoorn wrote:
> Hallo Benoit,
>
> I want to make a Object Timer in a Class like this
>
> 	hTimer = NEW Timer ( [ Parent AS Container ] )
>
> but this is not posible, the Function Timer() interverse.
>
> When i put this in the editor : hTimer = NEW Timer() the Editor makes the
> text Timer() Yellow, so it is seen as a statement part of the Gambas
> language and that is TRUE.
>
> How can i make in a Class the object Timer.
>
> Thanks.
>
> Regards,
> Leo Barnhoorn.
>

The compiler don't care the text color, so just do it. The editor syntax 
colorizer is not very clever yet.

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the User mailing list