Hello List!

Like all other people new to this list, I have to say: Gambas rocks!! :-)
The last six years I was a perl fellow...this changed in may 2008! ;-)

Here is my problem:
Docu says: 
Unlike other Basic dialects, Gambas will never delete a file when it is opened 
by the WRITE keyword for instance.  ....... To avoid this, open the file 
including the CREATE keyword.

When I do this:
LOGFILE = OPEN FilePath FOR CREATE WRITE 

Compiling my console program, gives me the following error message:
Unexpected WRITE!

When I do this:
LOGFILE = OPEN FilePath FOR WRITE CREATE

All went fine!!

Is this a bug or a feature???? :-)

Greetz
Stevie


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to