Property Array
-
Hi Is it possible to create a 2-dimensional property array? I have a property within my class, it's type is an enumerator within the same class. I would like to reference this property as an array. For instance If i say that WorldState(3,2) = isPossibleTrue then my property (WorldState) must execute the let/set command. If this is not possible, what alternatives do I have? Regards
you can't forget something you never knew...
"Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann -
Hi Is it possible to create a 2-dimensional property array? I have a property within my class, it's type is an enumerator within the same class. I would like to reference this property as an array. For instance If i say that WorldState(3,2) = isPossibleTrue then my property (WorldState) must execute the let/set command. If this is not possible, what alternatives do I have? Regards
you can't forget something you never knew...
"Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. HavemannYes you can have .... make return type of property as two dimensional also in set section make parameter(value) of same as return type of property. hope it helps
cheers, Akhilesh Yadav