> > 6065: reset(ipedfile,'ipedfile.dat'); > > 6066: reset(datafile,'datafile.dat'); > > Would become: > > Assign(ipedfile,'ipedfile.dat') > Reset(ipedfile);
Breakpoint 1, INITILINK () at ilink51.p:6065 6065 Assign(ipedfile,'ipedfile.dat'); (gdb) next 6066 Reset(ipedfile); (gdb) Runtime error 2 at $08063C1B $08063C1B $08063EE4 It's correct behaviour to crash if the file ('ipedfile.dat' in this case) does not exist? Daniel _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal