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

 

 

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to