Search found 3 matches

by dodogo
Tue Nov 24, 2009 12:30 am
Forum: General category
Topic: sizeof(myType)
Replies: 0
Views: 4231

sizeof(myType)

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
by dodogo
Sat Oct 17, 2009 5:34 pm
Forum: General category
Topic: problem with type and one bug
Replies: 2
Views: 4598

problem with type and one bug

thx fred.
I have new problems. I write two function. I have inside variable with same names. In second function compiler say  same like...variable is not declared. when i change name, result is same. maybe problem with "white" characters? Or any other?
by dodogo
Thu Oct 15, 2009 8:00 pm
Forum: General category
Topic: problem with type and one bug
Replies: 2
Views: 4598

problem with type and one bug

Hi everybody.Bug first.in fuction when I have between RESULT and = ("RESULT ?=") two spaces, i read some like "var. RESULT not be declared.And my problem. I try use some like thistype mytypedim a as bytedim b as bytedim c as shortend typedim mt as mytypeprint len(mt)i can not do this....