Pointer to unstructured var
Posted: Sun Feb 14, 2016 9:47 am
Can't access a unstructured vars value with pointers
x is 'undefined'
y is ok (96)
Firefox, Chrome, SB1.20
In PB this works
x is 'undefined'
y is ok (96)
Code: Select all
Structure Inti
i.i
EndStructure
Procedure Something()
Protected x, y.Inti
Protected *PointerToX.Inti, *PointerToY.Inti
x = 76
y\i = 96
*PointerToX = @x
*PointerToY = @y
Debug *PointerToX\i
Debug *PointerToY\i
EndProcedure
Something()
In PB this works
