[fpc-pascal] StrToInt is using ShortString buffer?

Sven Barth pascaldragon at googlemail.com
Wed Jan 12 17:10:57 CET 2022


DougC via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am Mi., 12.
Jan. 2022, 15:20:

> Alexey-
>
> You can always create such a function yourself,  gain experience using it,
> and share the source with us. That way others can gain experience with it
> and maybe someday also ask for it to be added to the standard library.
>

While that is in general the case, here this is not that easy, cause as
Michael wrote, Val is an intrinsic which is fact backed by multiple
function and the compiler itself needs to call them correctly. So in this
case to play around with it means adjusting *both* the RTL and the
compiler.

Regards,
Sven

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


More information about the fpc-pascal mailing list