[fpc-pascal] StrToInt is using ShortString buffer?

James Richters james.richters at productionautomation.net
Wed Jan 12 18:07:44 CET 2022


I don’t see what the problem with a shortstring buffer is..  strtoint could not make use of an input string longer than 256 characters anyway, because the output integer could not have more than 19 digits anyway.. so an input string longer than this would be useless… just convert to a shortstring and to strtoint.
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20220112/e7d27e04/attachment-0001.htm>


More information about the fpc-pascal mailing list