Hi all,
for ii in myStructArray
ii.parameterOne = lowercase(ii.parameterOne)
ii.parameterTwo = lowercase(ii.parameterTwo)
print("On loop iteration " + ii)
end
I’m looping through an array of my own custom struct called my MyStruct with the array being called myStructArray. I want to access the numerical value of my FOR loop counter ii based upon it’s position within the array at the FOR loop iteration. Is ii the MyStruct object/struct itself, or is it a numerical value that I can use to reference elements within myStructArray? If it’s the former, can I use ii as if it were a numerical value?
Hope all this make sense. If you need any clarification feel free to ask me.
Thanks.