<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Calibri, Verdana, Arial, sans-serif; font-size: 12pt;"><div>So, are you saying the one cannot declare an IntToStr function with the string represented by a PChar argument? Seems pretty straightforward to me.<br></div><div><br></div><div>Isn't that what is being requested?<br></div><div><br></div><div>Doug C.<br></div><div><br></div><div class="zmail_extra_hr" style="border-top: 1px solid rgb(204, 204, 204); height: 0px; margin-top: 10px; margin-bottom: 10px; line-height: 0px;"><br></div><div class="zmail_extra" data-zbluepencil-ignore="true"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Wed, 12 Jan 2022 11:10:57 -0500 <b>Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org></b> wrote ----<br></div><div><br></div><blockquote style="margin: 0px;"><div><div dir="auto"><div><div class="x_959390714gmail_quote"><div dir="ltr" class="x_959390714gmail_attr">DougC via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a>> schrieb am Mi., 12. Jan. 2022, 15:20:<br></div><blockquote class="x_959390714gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;"><u></u><div><div style="font-family: Calibri, Verdana, Arial, sans-serif;font-size: 12.0pt;"><div>Alexey-<br></div><div><br></div><div>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.<br></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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. <br></div><div dir="auto"><br></div><div dir="auto">Regards, <br></div><div dir="auto">Sven <br></div><div dir="auto"><div class="x_959390714gmail_quote"><blockquote class="x_959390714gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;"><br></blockquote></div></div></div>_______________________________________________<br>fpc-pascal maillist  - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br><a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br></div></blockquote></div><div><br></div></div><br></body></html>