[fpc-pascal] IfThen() intrinsic removed

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Feb 5 11:47:03 CET 2016


On Fri, Feb 5, 2016 at 8:35 AM, Andreas <andreasberger.516 at gmail.com> wrote:
> Well then how about: x := when condition true_condition otherwise
> false_condition;

Exactly, I was thinking about some kind of keyword to substitute ? and
: to make it pascalish.

But I think it should be something like this:

x := Y inline Z otherwise W;

the keyword needs to be after the condition, not before.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list