IIF(lExp <> .T. <> .F.,.T.=.F.,.T.=.T. AND .F.=.F.)
>No, intended code wasIIF(lExp <> .T. <> .F.,.F.,.T.)
>IIF (lExp <> .t.,.f.,.t.)
>>iif(lExp, .t., .f.)
>>>instead of lExp itself? The values this iif() returns are identical to the value of lExp.if lExpr = .t.
>>>is identical toif lExpr