I need these for a project I am working on, but even though they are in the wiki, they do not exist in the source code. What happened to them, and how can I get them back?
Mailing lists / fpc-pascal / 2026-03
What happened to tStringReader / tStringWriter?
6 messages · 3 people · –
- TTimothy Groves 3
- BBart 2
- FFlávio Etrusco 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Timothy Groves wrote 5 lines
I need these for a project I am working on, but even though they are in
the wiki, they do not exist in the source code. What happened to them,
and how can I get them back?
Since nobody else replied: AFAICS FPC implements it in the StreamEx unit, rather than the Classes unit (as Delphi does).
Regards,
Flávio
TStringReader is there, but TStringWriter is not.
:/usr/share/fpcsrc/3.2.2/packages/fcl-base/src$ grep -ic "tstringwriter" streamex.pp
0
Flávio Etrusco wrote 14 lines
Em dom., 22 de mar. de 2026 às 13:31, Timothy Groves via fpc-pascal
escreveu:
> I need these for a project I am working on, but even though they are in
> the wiki, they do not exist in the source code. What happened to them,
> and how can I get them back?
>
Since nobody else replied: AFAICS FPC implements it in the StreamEx
unit, rather than the Classes unit (as Delphi does).
Regards,
Flávio
_______________________________________________
fpc-pascal maillist -
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
TStringReader is there, but TStringWriter is not.
It is (in streamex unit) in fpc main:
Bart
Is there a later version of fpc than 3.2.2?
Bart wrote 6 lines
On Thu, Mar 26, 2026 at 8:49 PM Timothy Groves via fpc-pascal
wrote:
> TStringReader is there, but TStringWriter is not.
>
It is (in streamex unit) in fpc main:
Is there a later version of fpc than 3.2.2?
The next release will be 3.2.4.
A release candiate is available.
But, TStringWriter is not present there.
It's only in main.
You can build fpc main yourself from source code, if so desired.
Bart
