Doriano Blengino wrote: > Kadaitcha Man ha scritto: >> 2009/12/29 Dr. Diesel <dr.die...@gmail.com>: >> >> >>> just there seems no way to make it >>> global and accessable across different modules/classes. >>> >> >> HA! I had that same logical problem. There is no concept of global in >> Gabas that matches any variation of VB's idea of global. This is the >> fault of Microsoft. In the old days there was a concept of "global", >> but then OO came along and Microsoft haven't been able to escape the >> problem it created ever since. >> > Sorry Kadaitcha, > > you are confusing scope with visibility and naming, and all these > things have nothing to do with OO. It seems that everybody in this > list talks about OO misunderstanding its true meaning. There can be > global > variables in OO, why not? And they are not so bad, anyway - without > global variables no programs could run...
No confusion. As an ex-VB programmer, I put it in the best way I could that would be understood by the OP, alsa a VB programmer learning Gambas, so it appears. > "Global" is something during the life of the program, like file > descriptors or static forms. I hope you don't mind. I fell asleep and accidentally snipped everything else. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user