[Gambas-user] text files
Rob
sourceforge-raindog2 at ...94...
Tue Aug 26 14:48:38 CEST 2008
On Tuesday 26 August 2008 07:17, Mike wrote:
> 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.
> WRITE #hfile, "Stuff"
> If I use a very long string I get two chars added at the start of the file.
"WRITE" writes its arguments in binary format, which includes the length of
the string in this case. You want PRINT.
Rob
More information about the User
mailing list