[fpc-pascal] some new features to delphi prisem

Matt Emson memson.lists at googlemail.com
Mon Feb 22 07:26:04 CET 2010



Sent from my iPhone

On 21 Feb 2010, at 19:37, JoshyFun <joshyfun at gmail.com> wrote:
> z := iff(a=b,1,2);
>
> But to me it looks awful and a bit of c-ism

No, that is a VB-ism. A C-ism would be:

z = (a==b ? 1 : 2);

Which I fo tend to use myself in c# as it is a lot more convenient in  
some cases. 



More information about the fpc-pascal mailing list