Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: IIF()
Miscellaneous
Thread ID:
00095089
Message ID:
00095182
Views:
21
>Hello,
> Is an IIF() faster than an If-Else-Endif statement?

I also tend to use IIF() instead of simple IF..ELSE...ENDIF whenever possible,
but in case of complicated statements I give up IIF() for the readability of code's sake. But there are places where it is very difficult or even impossible to use anything else but IIF() - like in reports or DynamicColor properties.

Nock
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform