[Gambas-user] Extra gb.newline ?
Jussi Lahtinen
jussi.lahtinen at ...626...
Fri Jun 10 19:45:25 CEST 2011
On Fri, Jun 10, 2011 at 17:57, Rolf-Werner Eilert <
eilert-sprachen at ...221...> wrote:
> By the way, seeing through your code, why do you try to open the file
> for write create first and then use file.save? What would be the
> disadvantage of using TRY file.save alone?
>
Yeah, I could use 'Try File.Save(sOutput, "")' to test if sOuput is valid
path with right privileges.
This was very quickly written without thinking much, and "Open" pop into my
mind first.
But check is good to have, if you have big file to shuffle it would suck to
know after a while that something wasn't right.
Jussi
More information about the User
mailing list