Page 1 of 1

Add special feature 'field[0]' explanation in the manual

Posted: Wed Nov 14, 2007 5:08 pm
by Psychophanta
I don't find an explanation of the special and very useful feature.
I am referring to this:

Code: Select all

Structure su 
  i.l[0] 
EndStructure 
Debug SizeOf(su); <- no size, as you can see
*var.su=AllocateMemory(8)
*var.su\i[0]=Random(100000)
*var.su\i[1]=Random(100000)
Debug *var.su\i[0]
Debug *var.su\i[1]
FreeMemory(*var.su)

Posted: Sat Nov 17, 2007 12:35 am
by #NULL
that's interesting. thank you.