AW: [Gambas-user] Static keyword

Matthias Laur matthias-laur at ...978...
Thu May 19 14:10:11 CEST 2005

A static variable belong to the class. Not static variable belong to an
object of a class. If you want to have a global variable to change values
between the objects of a class, you have to declare the variable as static.

-----Ursprüngliche Nachricht-----
Von: gambas-user-admin at
[mailto:gambas-user-admin at] Im Auftrag von Marco Gusy
Gesendet: Donnerstag, 19. Mai 2005 14:44
An: gambas-user at
Betreff: [Gambas-user] Static keyword

Sorry for the very newbie question :#)

I can't understand the difference in declaring a variabile static or not.
Can you give some practical example?


This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
Gambas-user mailing list
Gambas-user at

More information about the User mailing list