Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AND and OR evaluations in conditional statements
Message
 
À
08/04/1999 01:23:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00206066
Message ID:
00206342
Vues:
17
David,

There is no precendence with and and or, they are evaluated from left to right with itelligent parsing in that the evaluation ends as soon as VFP has an answer. That is;

a=.t.
b=.t.
c=.t.
? a or b and c && nevers checks b or c because a is .t.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform