Can this be expected (address of elements staying the same)
(for me, the address stays the same...)
Code: Select all
Structure tset
fld1.s
fld2.i
EndStructure
NewList test.tset()
For x = 1 To 100 Step 3
AddElement(tesT()) : test()\fld2=x
i=Random(20,5) ; make the string random in length, to make things as random as possible
For z =1 To i
test()\fld1+Chr( Random(90,65))
Next
Next
SelectElement(test(),30)
Debug test()\fld2
Debug Hex(@test())
SelectElement(test(),10)
InsertElement(test()) : test()\fld2=999
test()\fld1="Just me"
SelectElement(test(),31)
Debug test()\fld2
Debug Hex(@test())
SelectElement(test(),10)
test()\fld2=9999
test()\fld1="This is not me!"
SelectElement(test(),31)
Debug test()\fld2
Debug Hex(@test())
ShowVariableViewer()
CallDebugger

