[fpc-pascal] How to initialize a "Text" variable?

Michael Van Canneyt michael at freepascal.org
Sun Mar 16 12:16:27 CET 2008

On Sun, 16 Mar 2008, Felipe Monteiro de Carvalho wrote:

> Is it possible to set a Text file to nowhere? I mean, lexlib has a
> textfile called yyoutput, where it will throw output. I don't want to
> have this output at all, and lexlib doesn't allow me to choose that.
> yyoutput is declared simply as Text
> I would initially try setting it to zero, but that's StdIO.

Assign yyoutput to a dummy stream, which simply skips output.


More information about the fpc-pascal mailing list