From: Kent M Pitman
Subject: Re: array input/output to files
Date: 
Message-ID: <sfwwvuwhjia.fsf@world.std.com>
·····@sip.medizin.uni-ulm.de (kp gores) writes:

> when reading from the file, the fill-pointer gets lost:
> [...]
> how can i fix this?

by not using read/print, which are not required to preserve the fill pointer.