Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF...ENDIF, IIF
Message
From
21/07/2009 11:42:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/07/2009 10:34:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01413551
Message ID:
01413570
Views:
72
>I'm sure that this has already been covered.
>
>Any real benefits to use iif instead of if...else...endif?

IIF() can be used inline where you can't use a statement block.

Also I use iif() in normal code to provide more readable code rather than if .. else .. endif when the content is simple.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform