Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF...ENDIF, IIF
Message
From
21/07/2009 15:00:06
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01413551
Message ID:
01413617
Views:
81
>Also following IF I've seen many times can be simplified w/o using IIF()
>
>IF a=b
>  llSomething = .T.
>ELSE
>  llSomething = .F.
>ENDIF
>
>* Replacement
>llSomething = (a=b)
>
My all-time favorite, which I've seen so many times:
B=iif(A, .t., .f.)
Makes my day anytime.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform