I have read few posts regarding arrays. Some were simple some were abit complicated but having fun reading it anyway.
Okay so I just want to understand abit further on arrays and I also have read in the Manual.
But Qn is, for simple one,
eg. Set size Array(2,1,1)
then we passed in values, Set Value at 0 to 4
and if I were to retrieve using array.At(0) it will return me 4.
then we passed in values, Set Value at 0 to "Test"
and if I were to retrieve using array.At(0) it will return me Test.
So I read some about converting the values to int or str but when do we do that?
And can we set the array value from an instance variable of an object into it?
Eg. Object name: object1
variable for the object is named "itemText"
value is "TestVariable"
Can we set it Set Value at 0 to object1.itemText?
Will it return TestVariable?