Filling and checking of a content of arrays in 800xA
Hello! I need some help. I created an array. When I fill it manually it is okay, but when I try to do in cycle it shows just 0 values. Maybe there is an mistake in code. And second question is there any ways to watch all content of arrays? Code here:
if init then createarray( Array => myArray, FirstIndex := 0, LastIndex := 20, ArrayElement := myElement, Status => ArrayStatus ); init := false; end_if; for i:= 0 to 20 do PutArray (myArray,i,i,ArrayStatus); end_for; GetArray(myArray,d,Value,ArrayStatus); Thanks in advance!