Hi,
What I want: Fill an array, which is inside a container, and named based on input parameters.
What I have tried:
I have created an object reference, Locals.obj_temp, which stores the current array I want to fill inside the container. I seem to be able to get the number of elements, set array bounds, insert elements, etc. but I can't figure out how to actually put values in there.
I've learned today I can use "*" to dereference the object ref, so I use
InsertElements(*Locals.obj_temp,"[0]",1),
to add an element, successully.
But, I don't know how to make it the value I want it to be, i.e. not the default zero as highlighted in the picture.
for what it's worth, this is how I make the new array inside the container and get a reference to it.
Parameters.UniqueFCs.NewSubProperty(Parameters.UniqueFullTable[0][Locals.m],PropValType_Number,True,"",0), Locals.obj_temp = Parameters.UniqueFCs.GetPropertyObject(Parameters.UniqueFullTable[0][Locals.m],0),