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

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

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

Post 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)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
#NULL
Addict
Addict
Posts: 1497
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Post by #NULL »

that's interesting. thank you.
Post Reply