[fpc-pascal]write problem

Jonas Maebe jonas at zeus.rug.ac.be
Thu Jan 4 13:45:56 CET 2001


On Thu, 4 Jan 2001, Peter Dobrev wrote:

> var f1:text;
> begin
> assign(f1,'try.try');
> rewrite(f1);
> write(f1,'So I'll be very happy if this appear in the try.try');
  close(f1);
> end.
> 
> This program creates try.try file, but it's content is empty. Does anybody
> know something about this? Thank you in advance.

Adding the above line should do it.


Jonas





More information about the fpc-pascal mailing list