[fpc-pascal] StrToInt is using ShortString buffer?

Alexey Tor. support at uvviewsoft.com
Tue Jan 11 16:46:24 CET 2022

Hello. As I see in the commit 

StrToInt always uses ShortString buffer:

*Function fpc_Val_SInt_ShortStr(DestSize: SizeInt; Const S: ShortString; 
out Code: ValSInt): ValSInt;*

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20220111/ec76995c/attachment.htm>

More information about the fpc-pascal mailing list