<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">fredvs <<a href="mailto:fiens@hotmail.com">fiens@hotmail.com</a>> schrieb am Fr., 2. Aug. 2019, 13:27:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> No, It's > 030300, but your version of trunk is too old, the function <br>
> was only added a few days ago. <br>
<br>
Ha, ok. (but a few tricky, a new number for a new feature would be ok too).<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">By definition only the latest version of trunk is considered supported. </div><div dir="auto">Also that's the version number of the compiler. That won't be increased for every little thing that gets added. </div><div dir="auto"><br></div><div dir="auto">That said instead of checking for the version you can also check for the existence of the function:</div><div dir="auto"><br></div><div dir="auto">{$if declared(AlignTParamFlags)} </div><div dir="auto"><br></div><div dir="auto">This works with any identifier that is in scope (e.g. in this case the TypInfo unit must be used, but that is the case here anyway). </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>