[Gambas-user] write a binary file
Jochen Georges
jochen.georges at ...22...
Tue Feb 11 21:04:24 CET 2003
hello gambasians,
this is the next of my 1001 questions ;-)
i have got an object of the selfdefined class CCar
the name of the object is car
i want to save car in a file, but i do not know how:
i tried different things, but .....
this way i got a type missmatch:
PUBLIC SUB MenuSave_Click()
MyFile AS File
'OPEN "test.jgf" FOR WRITE DIRECT AS MyFile
OPEN "test.jgf" FOR CREATE DIRECT AS MyFile
WRITE #MyFile, car
CLOSE MyFile
END
thanks for any help.
beste gruesse
jochen
More information about the User
mailing list