[BUG] write to file

Richard Gaskin ambassador at fourthworld.com
Mon Jan 25 20:49:39 EST 2016


Kay C Lan wrote:
 > On Mon, Jan 25, 2016 at 11:49 PM, Richard Gaskin wrote:
 >>
 >> > put "Log entry data" after URL ("file:" &>
 >>      specialFolderPath("documents") & tLogFileName)
 >>
 >> When using the statement above, is the engine clever enough to use an
 >> append operation for that, or does it seek to the end of the file
 >> before writing?
 >
 > Resolved Bug 383 might be of interest to you - but I can't find where
 > the 'feature request is at:
 >
 > Scott Raney <scott at runrev.com> 2003-10-06 18:46:02 BST
 >
 > Correct: I think he's confusing the URL version (which does rewrite 
the file),
 > with "open for append", which does not.  Optimizing the URL version
 > ("put after") is already on the feature-request list.

Good find.  How did you come across that bit of archaeology?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com





More information about the use-livecode mailing list