Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TtoD() not working.
Message
De
08/06/1997 13:20:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00035281
Message ID:
00035593
Vues:
34
>>I'm curious, Jim, why removing the sets of parentheses would make any
>>difference.
>
>Paul,
>
>I'm not sure it would, but the parens were very confusing when I tried to understand the logic of the comparisons so maybe they confused fox as well.

It's not necessary to remove parantheses. The problem in the example in the thread is that the condition is not correctly parantherised (does this word exist in English? :)). FoxPro has some bugs when verifies parantheses and in some situations it doesn't generates compile errors when it should. Also, in these cases, FoxPro's behavior is very strange sometimes, usually it ignores the whole or part of the expression.

I never found a situation when useless parantheses make any difference in the expression (of course, if the useless parantheses doesn't change the logic of the expression). I also never found a situation when a completely (and correctly) parantherised expression confused FoxPro.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform