Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To iif or not to iif = .t.
Message
 
To
31/05/2001 13:15:07
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00513276
Message ID:
00513292
Views:
26
Dragan;

I find that iif conditional statements are often misused. Think of the advantage we have over Visual Basic, when using iif. Visual Basic will first evaluate the left side, then the right side and then give the correct answer. So you could see interesting effects until the final answer is evaluated. Visual FoxPro just fires the correct answer – more to the point and another case where VFP is faster than VB.

Tom
Previous
Reply
Map
View

Click here to load this message in the networking platform