although, the design could be changed to work as:

code:
function iif2($condition,$exp1,$exp2)
dim $exp
$exp=$exp1,$exp2
exit execute($iif2 = $exp[not not $condition])
endfunction

or is that too complex?

[ 02. June 2003, 12:22: Message edited by: Lonkero ]
_________________________
!

download KiXnet