Sent from my iPhone On 21 Feb 2010, at 19:37, JoshyFun <joshy...@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. _______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal