[fpc-pascal] New feature: IfThen() intrinsic

Sven Barth pascaldragon at googlemail.com
Mon Feb 1 21:09:42 CET 2016


On 01.02.2016 20:50, Dmitry Boyarintsev wrote:
> On Mon, Feb 1, 2016 at 2:47 PM, Sven Barth <pascaldragon at googlemail.com
> <mailto:pascaldragon at googlemail.com>> wrote:
> 
>     If we would go the route of such an if-expression instead of an
>     intrinsic then just leave away the "inline". That's absolutely not
>     needed... (Note: implementation wouldn't be hard at all)
> 
> 
> something like this:
> 
> if if true then true else false and if false then false else true then
>   writeln('syntax hurts my eyes?')

Everything can be abused...

Regards,
Sven




More information about the fpc-pascal mailing list