Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF...ENDIF, IIF
Message
De
21/07/2009 11:42:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/07/2009 10:34:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01413551
Message ID:
01413570
Vues:
70
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform