Reading/Deleting Last Line Of File
Richard Gaskin
ambassador at fourthworld.com
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: http://www.fourthworld.com
Webzine for Rev developers: http://www.revjournal.com
revJournal blog: http://revjournal.com/blog.irv
More information about the use-livecode
mailing list