I installed 1.08 and can no longer retrieve UDT objects in a multidimensional array and get them out for use. I can reference them using the array, but cannot assign them to a new object.
SetDisplayAspect( 0.66 )
TYPE tInitRocks
var as integer
ENDTYPE
global dim initRocks[3,3,3] as tInitRocks
init()
do
print_vars()
Sync()
loop
function print_vars
r as tInitRocks
for x = 0 to 3
print("var: " + Str(initRocks[0,0,x].var))
r = initRocks[0,0,x]
print("obj: " + Str(r.var))
next x
endfunction
function init
initRocks[0,0,0].var = 10
initRocks[0,0,1].var = 11
initRocks[0,0,2].var = 12
initRocks[0,0,3].var = 13
endfunction
The "var:" outputs show the proper value for initRocks[0,0,x].var but the "obj:" outputs, which shorthand it by copying that object to r, always return 0.
This worked fine in 1.076