[Gambas-user] write a binary file

Fabien BODARD abidoo.too at ...11...
Wed Feb 12 21:07:26 CET 2003


Le Mercredi 12 Février 2003 07:22, Jochen Georges a écrit :
> On Tuesday 11 February 2003 22:05, Fabien BODARD wrote:
> > Le Mardi 11 Février 2003 21:04, Jochen Georges a écrit :
> >
> > replace
> >
> >  OPEN "test.jgf" FOR CREATE DIRECT AS MyFile
> >
> > by
> >
> > OPEN "test.jgf" FOR CREATE DIRECT AS #MyFile
> >
> > fabien
>
> hi fabien, gambasians
>
> thanks, but still i got an runtime error
> "type mismatch: wanted standard type, got CCar instead"
> (in the line "WRITE #MyFile, car)
>
> PUBLIC SUB MenuSave_Click()
>   MyFile AS File
>   OPEN "test.jgf" FOR CREATE DIRECT AS #MyFile
>   WRITE #MyFile, car
>   CLOSE MyFile
> END
>
> beste gruesse
> jochen
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


please send me the total source if you want an answer (tell me more).
because i don't know what is CCar (a class?) and what it return.

fabien




More information about the User mailing list