From: Rob Biedenharn Date: 2008-08-25T21:03:09+09:00 Subject: Re: Open file, get first line, delete first line close file On Aug 25, 2008, at 4:07 AM, Erik Hollensbe wrote: > Dave Bass wrote: >> And... it's a lot easier to delete the *last* line of a file than the >> first. > > I don't think this is actually true, can you explain further? > > -Erik You can just truncate the file size. You don't have any subsequent lines (bytes) to move into a new position within the file. -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com