Interesting topic - I think!

Shawn,

Your earlier example...

quote:
code:
$x = iif(1=1,FuncOne(),FuncTwo())


Which display's the two strings defined in BOTH functions really surprised me!

I 100% agree with you, iif() is clearly NOT the same as if ... else ... .

Although I see no reason why this shouldn't work - I also believe that KiX should perform in the same way that VB does - for interoperability reasons if nothing else.

Having said all that, I would be very interested in Ruud's views on this matter.

Lee