Does anyone know what's mark's intention is on the use of Global Variables in Max?
I don't know if this is something that will be fixed later or if this is intentional.
I have a global variable outside the type, and one declared inside the type with the same name; and they are treated as two different variables.
Does anyone have any answers on this?
I mean I can get used to this if its meant to be like this, but hmmm....
Global strName:String = "Global variable outside the type" Local s:TName = TName.Create() Print strName s.display Type TName Global strName:String = "Global variable inside type" Function Create:TName() Local t:TName = New TName Return t End function Method Display() Print strName End Method End Type
I don't know if this is something that will be fixed later or if this is intentional.
I have a global variable outside the type, and one declared inside the type with the same name; and they are treated as two different variables.
Does anyone have any answers on this?
I mean I can get used to this if its meant to be like this, but hmmm....