Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF...ENDIF, IIF
Message
De
21/07/2009 15:00:06
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01413551
Message ID:
01413617
Vues:
80
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform