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

They have different purposes. IF/ELSE/ENDIF is a flow control structure. IIF() is a function which returns an expression based on whether a condition is true. IIF() is fine if you just want to populate a variable with a value.
Previous
Reply
Map
View

Click here to load this message in the networking platform