Hi Colin ---
Hey, what's wrong with:
IIF(lThirsty,IIF(lAfterDark,"Beer","Tea"),"Nothing")
;-D
>>>Steve,
>>>
>>>It would be nice but it is not possible in VFP.
>>
>>No offense, Jim, but I'm not so sure it would be nice to have. I don't even want to try to imagine the nightmare code that could be composed with it...
>
>Agree with you on this one Bruce. Reminds of some of the old FP DOS apps I inherited that had lines of code that had 10, 15, 20 or more IIF()'s buried within each other. One of the first things I did with these was to convert them to DO CASE structures. More lines of code but a hell of a lot easier to read and debug.
>
>Cheers,
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05