<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 31, 2016 at 12:20 PM, Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 31.01.2016 16:09, silvioprog wrote:<br>
> Wooow! I did a request about it many years ago, however it was rejected<br>
> because the limitation in the generic feature at that time.<br>
<br>
</span>This implementation has nothing to do with generics. It's a compiler<br>
magic function, just like Writeln() and thus it can bend the usual rules ;)</blockquote><div><br></div><div>Awesome.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
> So, I posted a bug related to it yesterday:<br>
><br>
> <a href="http://bugs.freepascal.org/view.php?id=29546" rel="noreferrer" target="_blank">http://bugs.freepascal.org/view.php?id=29546</a></span></blockquote><div><br></div><div>I have a test-case in a draft project that worked fine some days ago, so I think that this bug was introduced recently. o_O</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I've seen your bug this night and that was the cause for finally<br>
implementing this.</blockquote><div><br></div><div><div>2^64 thanks! :-)</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
> Can I use it after this new feature? (I'm upgrading my FPC sources now :-) )<br>
<br>
</span>I've not yet looked at what the problem regarding your code is. However<br>
you can simply remove your TUtils.Iif() and use IfThen() instead.</blockquote><div><br></div><div>YES! o/ .. \o .. \o/</div><div><br></div><div>I'm going to do it now ... :-D<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
> Buddy, thanks a lot for that feature, it is very useful! o/<br>
<br>
</span>That's what I have hoped for. :)</blockquote></div><div><br></div><div>^^</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Silvio Clécio</div></div></div>
</div></div>