sizeof(myType)

In this category you can exchange your programming questions and solutions.
Post Reply
dodogo
Posts: 3
Joined: Tue Nov 08, 2005 3:00 pm

sizeof(myType)

Post: # 519Post dodogo
Tue Nov 24, 2009 12:30 am

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

Post Reply