>I'm sure that this has already been covered.
>
>Any real benefits to use iif instead of if...else...endif?
Only for some inline statements. Otherwise in the program's flow I would prefer IF ELSE ENDIF for better maintenance.
If it's not broken, fix it until it is.
My Blog