humm... Global? can these G variables be inherited automatically throughout all classes if they are only defined once without being imported from their original class?
humm... Global? can these G variables be inherited automatically throughout all classes if they are only defined once without being imported from their original class?
Well, inherited is not the right word - that has a very specific meaning in OOP, and this is not it. Global variables are available to any code linked in. Very convenient maybe, but also very dangerous.
Well, inherited is not the right word - that has a very specific meaning in OOP, and this is not it. Global variables are available to any code linked in. Very convenient maybe, but also very dangerous.