10-28-2024, 09:40 PM
(10-28-2024, 09:22 PM)jrmrhrb00 Wrote: AB,
This is what creates the LDArray
'creates ldArray from indices
status=LDArray.CreateFromIndices(name)
TextWindow.WriteLine(status)
Status even shows you Array1.
JR
JR,
I don't know how much your code has changed compared to your code that I have.
But, in the version of your code that I now see on my computer, line "status=LDArray.CreateFromIndices(name)" is located AFTER line "LDArray.SetValue(status, i, Math.GetRandomNumber(10))".
That is, you FIRST try to use an array that has not yet been created, and only THEN write "CreateFromIndices".
Give us the latest version of your code.
( Unfortunately, I have to go to bed. See you later. )
AB