[futurebasic] Re: [FB] FB More files

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2012 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Thu, 21 Jun 2012 16:10:18 -0700
On Jun 21, 2012, at 3:50 PM, Ted Spencer wrote:

> open "O", _openBatchFileNum, @gUrl
> print #_openBatchFileNum, "Goodbye again"
> close #_openBatchFileNum
> CFRelease( gUrl )
> 
> Does that fly? Which is to say is gURL still valid an hour after it was found? Presuming, of course, that the file hasn't been moved in the interim. Oh dear... What does that do??
That code ( assuming gUrl is valid and hasn’t been released ) will save a file at the same path with the same name every time. If a previously-created file has been moved, the moved file is not impacted and a new file will be created at the same path.


Brian S.