[fpc-pascal] Adding file to string to the RTL

Ryan Joseph genericptr at gmail.com
Mon Oct 5 23:27:47 CEST 2020



> On Oct 5, 2020, at 3:23 PM, Michael Van Canneyt via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> So I think you're looking at 6 or even 8 versions of this hypothetical function...

Ouch. :)

I'm sure this code already exists in the RTL though, right? I assume it's part of some classes like TStringList and we can just pull it up into a collection of functions which are easily searchable in the RTL docs. 

If not what is lowest level cross-platform layer which already exists and can we build up from? Maybe the "TextFile" type helps us? (I know it's ancient and I've never used it before honestly).

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list