[Gambas-user] text files

Mike mike.crean at ...1940...
Tue Aug 26 13:17:13 CEST 2008


Hi all

 

How do I save a text file without extra chars at the start of the file.

If I save with the following code there is one extra char added to the start
of the file.

 

Hfile = OPEN "/home/mike/cmrmsg.txt" FOR WRITE CREATE

WRITE #hfile, "Stuff"

CLOSE #hfile

 

If I use a very long string I get two chars added at the start of the file.

 

Regards

Mike Crean

 

 

 




More information about the User mailing list