Problems with serials
Posted: 2004-10-12 18:07:11
There are problems with objects serials.
Var obj=0x01513515 DOESN'T WORK
Var obj="0x01513515" WORKS
Now if i read from a file the objects serials, i can't decide which type is what i read (string, int), so i would need some kind of cast from string (or whatever it is) to serial..
For example i read from a file a serial and put in the variable obj.
if I see var(obj) it says 0
If i see str(obj) it says 0
If i see obj it says the correct serial, but i can't use it in functions like getgraphic and similars.
Anyone can help?
Var obj=0x01513515 DOESN'T WORK
Var obj="0x01513515" WORKS
Now if i read from a file the objects serials, i can't decide which type is what i read (string, int), so i would need some kind of cast from string (or whatever it is) to serial..
For example i read from a file a serial and put in the variable obj.
if I see var(obj) it says 0
If i see str(obj) it says 0
If i see obj it says the correct serial, but i can't use it in functions like getgraphic and similars.
Anyone can help?