I just want to change an integer variable in an item of my structure array? How can I do this?
Thanks
I just want to change an integer variable in an item of my structure array? How can I do this?
Thanks
Itβs a bit convoluted, but you have to grab the old array element, break the struct and then make a new one out of the struct elements you want to keep (copying them from the old one) and the values you wish to change. And then of course you replace the old struct with the new one at the same array position.
Thanks