How about the "seek" function?
At 17:28 +0000 01/18/2002, Richard Smith wrote:
>Hi All,
>
>Is it possible to open a file, read the data from the first line, twiddle that
>data, then overwrite the data without doing this:
>
>open <file
>read data
>close file
>
>twiddle data
>
>open >file
>print data
>close file
>
>All I want to do is read in a number, increment it, then save it again in the
>same file. Any help would be much appreciated.
>
>TIA
>
>Richard
>
>=====
>Team Artonomy
>Drawing Business
>http://www.team-artonomy.com/
>http://www.drawingbusiness.com/
>
>The #1 Illustration studio on Google.
>Listed on Wow Web Designs, http://www.wowwebdesigns.com/
>
>__________________________________________________
>Do You Yahoo!?
>Everything you'll ever need on one web page
>from News and Sport to Email and Music Charts
>http://uk.my.yahoo.com