> On Oct 5, 2020, at 3:23 PM, Michael Van Canneyt via fpc-pascal > <fpc-pascal@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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal