[fpc-pascal]write problem

Peter Dobrev peterdob at mbox.digsys.bg
Thu Jan 4 17:30:24 CET 2001


Hello!
I'm new on this list so I don't know if anybody has asked this before. I
want to ask you a question. Does FPC 1.0.2 supports writting strings in text
files? Here's an example:

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');
end.

This program creates try.try file, but it's content is empty. Does anybody
know something about this? Thank you in advance.
Btw. I'm using Slackware 7.1 if this is important




More information about the fpc-pascal mailing list