SizeOf extension

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tinman.

The ability to call SizeOf with the built in types (.b, .w, .l, etc) would be nice.

Update: Even nicer would the ability to call SizeOf with a variable name and have it return the size of the type that the variable was created with.

--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)