<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-02-01 15:42 GMT+01:00 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span>:<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=""><p>Maciej is in so far right that the intrinsic could indeed be named "if" and the only way to call it would thus be by "&if", cause only then the scanner would not treat "if" as a keyword. So it would work with what the compiler currently can.<br></p></span>
<p>I'm more inclined to use iif() however, as &if() doesn't look that nice... (though it would be more noticeable :P )</p></blockquote><div><br></div><div>Phew. So it is possible. It is hard to discuss with compiler team members like Michael :P.</div><div><br></div><div>1. IMO &if (if is possible to use &if) is best choice. iif can conflict in the same way as IfThen. </div><div>2. IIF should works like IfThen in Math or StrUtils. If no - It will be precedence with comparision to others languages and iif definition (!)... </div><div><a href="https://en.wikipedia.org/wiki/IIf">https://en.wikipedia.org/wiki/IIf</a> <br></div></div><div>3. intrinsic &if is very close to native usage of if then else</div><div>4. we can have both. IIF and &if. Don't create precedents!</div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>