Code: Select all
Structure MyState
Array statedata.l()
EndStructure
Code: Select all
state\statedata() = temp()
Code: Select all
Structure MyState
Array statedata.l()
EndStructure
Code: Select all
state\statedata() = temp()
Code: Select all
Structure MyState
Array statedata.l(5)
EndStructure
Define state.MyState
Dim MyArray.l(5)
MyArray(4) = 5
CopyArray(MyArray(), state\statedata())
Debug state\statedata(4)