Reading/Deleting Last Line Of File

Richard Gaskin ambassador at
Fri Feb 12 13:49:57 EST 2010

Jim Bufalini wrote:

> Richard Gaskin wrote:
>> But FWIW, I tried your version and it seemed to leave the file
>> unchanged
> If your original file ends in a cr then Alex's code would end in absolutely
> no change. ;-)

Thanks, Jim.  I tried it both ways; no change to the file's contents, 
although the mod date gets updated so I know it's trying.

  Richard Gaskin
  Fourth World
  Rev training and consulting:
  Webzine for Rev developers:
  revJournal blog:

More information about the Use-livecode mailing list