Bug on for each?
Hello, i have the following variable:
Where FTest is the following struct:
If i do the following:
It will not change the values. Is the for each supposed to give copies of the actual values or is this a bug? If i use the regular for it works fine.
You're taking a copy in the loop and then changing that, you'll want to use a reference instead.
answered Oct 02 '14 at 01:47 PM
Jamie Dale STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here