[fpc-devel] new features and facilities
freedos.la at gmail.com
Thu Oct 8 19:09:54 CEST 2015
On 10/8/2015 9:54 AM, Sven Barth wrote:
> I had the idea to implement inline-if as well. I think the syntax I
> selected is derived from Oxygene, but it looks very Pascal and
> shouldn't break anything:
> left := if expr1 then expr2 else expr3;
> Thereby expr1 returns Boolean and expr2 determines the type of the
> whole inline-if, thus expr3 needs to be compatible to expr2.
Sorry, but that doesn't "look Pascal" at all, and is anything but easily
understandable, specially given the possible complexity of expr[1,2,3]...
This email has been checked for viruses by Avast antivirus software.
More information about the fpc-devel