<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Ryan Joseph <<a href="mailto:ryan@thealchemistguild.com">ryan@thealchemistguild.com</a>> schrieb am Do., 21. Juni 2018, 15:53:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’m actually making rapid progress on a macro function syntax where the parameters are replaced by the inputs when called:<br>
<br>
{$define put(x):='into_x’}<br>
<br>
put(100); // replaces to ‘into_100’<br>
<br>
Do I have permission to develop this feature (even if it’s hidden behind a modeswitch) and if so should I privately contact someone on the compiler team to verify that I’m doing compiler approved things? I have lots of stupid questions like is “array of ansistring” ok and can I use strutils functions etc.. and I don’t want to pollute the list with them.<br></blockquote></div><div dir="auto"><br></div><div dir="auto">Of course you have permission to work on this, after all this is Open Source software. However whether we'd want to integrate this is a totally different topic. </div><div dir="auto">I personally am against it, cause I see no real world use in it and the usual point of making the code less readable applies as well. </div><div dir="auto"><br></div><div dir="auto">To answer your further questions: AnsiString should not be used and units that can be used are only those in the rtl directory. Everything inside packages is not available. You could however check the cutils unit for equivalent functionality. </div><div dir="auto"><br></div><div dir="auto">For more questions you can start a thread in fpc-devel. That's the purpose of that mailing list after all. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>