ok just to check i am getting this right, if i declare a global within a type, it is accessible to all methods and functions from within the type, and is accessible from outside by using the typename.variablename convention.
A local declared within a type is only used within that method or function and can only be accessed elsewhere only if it is returned as part of a function say.
this getting used to oop, is like getting into somebody else's clothes from the wrong end. I guess as long as they look good when on, thats all that matters. The main thing is now i can see how to put them said clothes on the right way....lol.
we'll see.....
A local declared within a type is only used within that method or function and can only be accessed elsewhere only if it is returned as part of a function say.
this getting used to oop, is like getting into somebody else's clothes from the wrong end. I guess as long as they look good when on, thats all that matters. The main thing is now i can see how to put them said clothes on the right way....lol.
we'll see.....