Size of elements of an array

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Deeem2031
Enthusiast
Enthusiast
Posts: 216
Joined: Sat Sep 20, 2003 3:57 pm
Location: Germany
Contact:

Size of elements of an array

Post by Deeem2031 »

It would be great if it would be possible to get the size of the elements of an array.

Code: Select all

Structure x
  l.l
  e.w[2]
EndStructure

Debug SizeOf(x)
Debug SizeOf(x\e)
;Debug SizeOf(x\e[])
irc://irc.freenode.org/#purebasic