[net.micro.cbm] Oxford Pascal file IO

peg@oce-rd2.UUCP (Peter Eigenraam) (02/07/86)

:a
Good afternoon,

Does anyone out there have the same experience as I had when
accessing files in Oxford Pascal programs?

After executing some program like:

begin
   rewrite(file,'test',1,1);
   write(file,something);
   close(file);
   ...

the CBM reacts on the next instruction:

   write(anything); (* to screen *)

with the error-message: file not open for writing!

And in the same way after resetting a file for reading, and even when
trying to use the linker this file not open message appears...

Everything goes alright when not using file IO...

Am I doing something wrong?

Goei,
	Peter Eigenraam
	Oce Nederland B.V.   R&D   Venlo   Holland