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.
Regards
Matthias

-----Ursprüngliche Nachricht-----
Von: gambas-user-admin at lists.sourceforge.net
[mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Marco Gusy
Gesendet: Donnerstag, 19. Mai 2005 14:44
An: gambas-user at lists.sourceforge.net
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?

Thanks


-------------------------------------------------------
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!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list