Apache OpenOffice (AOO) Bugzilla – Issue 82588
iif function seems to evaluate both possible return values before deciding
Last modified: 2013-02-24 21:01:13 UTC
iif function seems to evaluate both possible return values before deciding what to return. For example the following code: x=10 y=0 print iif ( y<>0, x/y, "error") creates a "Division by Zero" runtime error instead of printing "error".
Isn't that "works as designed" ? Anyway, Andreas could you take this over? Thanks Kay
ab->kr: Right, "works as designed", VB6 behaves in the same way -> INVALID
close the invalid issue