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

Dmitry Boyarintsev skalogryz.lists at gmail.com
Mon Feb 1 20:50:30 CET 2016


On Mon, Feb 1, 2016 at 2:47 PM, Sven Barth <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?')

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160201/23e86536/attachment.html>


More information about the fpc-pascal mailing list