myVar = IIF(SomeCondition, SomeValue, SomeOtherValue)
performs faster thanIF SomeCondition THEN myVar = SomeValue ELSE myVar = SomeOtherValue ENDIFbut
=IIF(SomeCondition, DoSomething, .F.)
is just plain silly and it is better to useIF SomeCondition THEN DoSomething ENDIFinstead.