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

Marcos Douglas md at delfire.net
Mon Feb 1 21:02:57 CET 2016


On Mon, Feb 1, 2016 at 5:47 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
> On 01.02.2016 20:33, Marcos Douglas wrote:
>> Only "inline" keyword will be introduced.
>> But I don't know if will be more hard to implement this.
>
> 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)

Yes, but using 'inline' makes more readable. Like 'overload' does.

Regards,
Marcos Douglas



More information about the fpc-pascal mailing list