So, are you saying the one cannot declare an IntToStr function with the string 
represented by a PChar argument? Seems pretty straightforward to me.



Isn't that what is being requested?



Doug C.







---- On Wed, 12 Jan 2022 11:10:57 -0500 Sven Barth via fpc-pascal 
<fpc-pascal@lists.freepascal.org> wrote ----



DougC via fpc-pascal <mailto:fpc-pascal@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 






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

Reply via email to