[Gambas-user] EOF character seems not to work

Benoît Minisini gambas at ...1...
Wed Feb 25 12:36:54 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

How can that line of code work? hFile is NULL, you must have got an error.

-- 
Benoît




More information about the User mailing list