[fpc-pascal] pc -> fpc porting question: reset()

Daniel Franke daniel.franke at imbs.uni-luebeck.de
Mon Apr 17 15:48:18 CEST 2006


> > 6065:  reset(ipedfile,'ipedfile.dat');
> > 6066:  reset(datafile,'datafile.dat');
>
> Would become:
>
> Assign(ipedfile,'ipedfile.dat')
> Reset(ipedfile);
>
> Assign(datafile,'datafile.dat');
> Reset(datafile);

Micheal,
many thanks for your fast reply! 
Err, I assume this also holds for "rewrite(outfile,'outfile.dat');", i.e.
    Assign(outfile,'outfile.dat');
    rewrite(outfile);
??

Again, many thanks! Maybe there's still some leisure-time left in this day =)

Regards
	Daniel



More information about the fpc-pascal mailing list