[Gambas-user] Static

Benoit Minisini gambas at ...1...
Thu Jun 2 10:03:50 CEST 2005


On Wednesday 01 June 2005 14:54, Michael Beale wrote:
> Could someone explain to me a little better what the
> message "Class.function() is not static" means?  What
> do I have to do to fix it?  Why can't I call the
> function?
>
> Thanks
>
> Mike B
>

The error message "X.Y is not static" means that the Y method of the X class 
cannot be called on an instance of X, not on X itself.

Do you have some code to show ?

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




More information about the User mailing list