Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AND and OR evaluations in conditional statements
Message
De
09/04/1999 12:37:59
 
 
À
09/04/1999 02:05:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00206066
Message ID:
00206952
Vues:
18
I was understanding you all along until this line:
>
>I wanted to say that "a or b and c" is in fact "a or (b and c)". That doesn't mean the operation between parentheses is evaluated first.
>
Doesn't precedence of operators as well as the parentheses that you supplied mean exactly that the operation in the parentheses IS evaluated first. So in your example with the parentheses isn't (b or c) evaluated then the result is ORed with a? Without resorting to semantics something with higher precedence PRECEDES, that is happens first in time.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform