Hi all
I have had it reported that the IIF will evaluate all conditions regardless of the return value.
For Example
<test> = IIF(Procedure1() AND procedure2(),1,0)
If procedure1 returns false then it still (apparently) evaluates procedure2.
I cannot however recreate this. Has anyone ever heard of this or something similar happening in VFP?
Thank you
I have had it reported that the IIF will evaluate all conditions regardless of the return value.
For Example
<test> = IIF(Procedure1() AND procedure2(),1,0)
If procedure1 returns false then it still (apparently) evaluates procedure2.
I cannot however recreate this. Has anyone ever heard of this or something similar happening in VFP?
Thank you