[Gambas-user] EOF character seems not to work
richard terry
rterry at ...1946...
Tue Feb 24 21:49:28 CET 2009
I need to write an array of lines to a file, each ending in the EOL char for
MAC, I used this code, it dosn't work, it ends up with the UNIX EOL.
I must have my syntax wrong somehow:
Dim hfile As file
hfile.EndOfLine = gb.Mac
Open sFilename For Write Create As #hfile
For Each singleLine In Lines
Print #hfile singleLine
Next
Close #hfile
Any help appreciated.
More information about the User
mailing list