will need to wait ruud's answer on this.
anyway, I never thought of using iif in this kind of nesting manner.
the stack was enchanged some time ago due to similar problem I had with exchaustive nesting script.
so, the key in here is should the if shortcut (iif) work in this manner or is it's usage limited.
anyway, good you found a usage for it, I haven't yet.
_________________________
!download
KiXnet