Page 1 of 1

sizeof(myType)

Posted: Tue Nov 24, 2009 12:30 am
by dodogo
Hi.
Is possible use somethink like This..?
type tt
a as byte
b as integer
end type

dim myType as tt
...

myType = stream.read(sizeof(myType))

I can not find function for length of user type. exist?
is possible use user type as left value like on my example? maybe other way.. this is not work
thx all