On Fri, Jun 10, 2011 at 17:57, Rolf-Werner Eilert < [email protected]> 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 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
