Ls,
Im a beginner when it comes to OOP.
Not wanting to pass everything thru the class calls, i want to be able to have some application globals.
Can define them package level?
Should I create a class globals.as with static vars?
Whats the proper way of doing this?
Any help is greatly appreaciated.
Mac
firstly I would say that there are few instances where you would need global variables, I haven't used any in a long time and at the moment I can't think of any situation where i would. Although saying that it may be the easier solution if you are new to OOP.
if I were to do this I would use a class with statics vars as you said
Thank you both!![]()
I noticed that now im understanding OOP a bit better I finf great pleasure in the way things are accessible.
In one case though I have somve very large vectors.
I thought it would benefit performance if I could just access these directly from any class.
Mac
North America
Europe, Middle East and Africa
Asia Pacific