i really miss the possibility to access a structured pointer like an array:
Code: Select all
Protected *mem.struc
For i = 0 To 9
Debug *mem[i]\bla
Next
Code: Select all
String$ = "ABC"
For i = 0 To 3
Debug String$[i];\c
Next

c ya,
nco2k
Code: Select all
Protected *mem.struc
For i = 0 To 9
Debug *mem[i]\bla
Next
Code: Select all
String$ = "ABC"
For i = 0 To 3
Debug String$[i];\c
Next
Code: Select all
Structure SomeStruct
a.i
b.i
c.i
EndStructure
Structure ArrayOfSomeStruct
Offset.SomeStruct[0]
EndStructure
Define *Mem.ArrayOfSomeStruct=AllocateMemory(SizeOf(SomeStruct)*3)
*Mem\Offset[0]\a=1
*Mem\Offset[1]\b=2
*Mem\Offset[2]\c=3