[fpc-pascal]Error messages again

Kuba Ober winnie at hoth.amu.edu.pl
Fri Jan 5 17:25:48 CET 2001


> > I tried it under win98 in a dos box (go32v2) with snapshot from today and
> > get only a file with length 0 byte.The error message appeard on the
> > screen.
> >
> > close(stderr);
> > assign(stderr,'err.txt');
> > rewrite(stderr);
> > mem[$fffff]:=0;
>
> Haven't you forgotten to close the stderr file after writing to it ?

Seems that the message was being written to stdout and not stderr... Make 
sure that it indeed goes to stderr.
Kuba




More information about the fpc-pascal mailing list