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.
ok i'm sorry there was an error in my script. I didn't know that the readline function puts a char at the end of the line (eof, return?). That was the problem.