I have the structure:
TYPE Horse : STRUCT flow : ARRAY [0..1, 0..1] OF REAL; END_STRUCT END_TYPE
Then I have a GVL with:
VAR_GLOBAL flow_set : ARRAY [3..4] OF Horse:=[flow := [{1.6,2.4},{0.210,0.435}], flow := [{1.6,2.4},{0.210,0.435}]]; END_VAR
I get the error message that flow is not defined. How do I initialize my structure and array correctly?
Log in to post a comment.
I have the structure:
Then I have a GVL with:
I get the error message that flow is not defined. How do I initialize my structure and array correctly?