[fpc-pascal] Procedures that work like WRITELN()

Wayne Sherman wsherman at gmail.com
Thu Dec 28 00:57:52 CET 2023


On Wed, Dec 27, 2023 at 3:42 PM Wayne Sherman wrote:
> Example using a TFileStream descendant and StreamIO AssignStream:
> ...(line 42 follows)
>   FileWrite(TextRec(Output).Handle, Buffer, Count);

Although that worked (I don't know why) I intended line 42 to be:
FileWrite(TextRec(FOriginalStdOut).Handle, Buffer, Count);


More information about the fpc-pascal mailing list