Assign to array in structure?
Posted: Wed Jul 19, 2017 5:56 am
I'm want to create a structure where one of the fields is an array so I did this
Then I want to assign an array to that field, and everything fell down. I can't figure out how to do that. It appears that I can create a loop to assign individual elements to an array in a structure, but not the entire array. I get syntax error when I try.
Code: Select all
Structure MyState
Array statedata.l()
EndStructure
Code: Select all
state\statedata() = temp()