Reading/Deleting Last Line Of File

Jim Bufalini jim at
Tue Feb 9 19:37:59 CST 2010

Jacque wrote:

> Worth a test anyway. I've used it on files that were several megs in
> size without a problem, but they weren't super huge, just kinda big.

Hi Jacque, I made the suggestion I did because at 100 Million records plus,
that's an awfully big read into memory just to delete the last line, so I
figured it's better to work with the file on disk. I just remembered the
params for open file wrong and Alex caught it.

Aloha from Hawaii,

Jim Bufalini

More information about the use-livecode mailing list