Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Iif and if else end
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Iif and if else end
Divers
Thread ID:
00476073
Message ID:
00476073
Vues:
53
can use this:

iif(newuep = 0,hlduep = paycalc.unemp_ins_pct,hlduep = newuep)

instead of this:

if newuep = 0
hlduep = paycalc.unemp_ins_pct &&writeback unemployeed insure %
else
hlduep = newuep &&writeback unemployeed insure %
endif


will the iif set the values or is iif only used for returning a true and false value.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform