Hi,


If it is correct: Can we skip using ShortString buffer and have e.g. 'common' PChar base function for AnsiString/ShortString?

I keep arguing for that as well

You can always create such a function yourself,  gain experience using it, and share the source with us.


I wrote that for you:

https://forum.lazarus.freepascal.org/index.php/topic,55472.msg414973.html#msg414973

https://github.com/benibela/bbutils/blob/master/bbutils.pas#L3446-L3601

Cheers,
Benito

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to