Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Expression
Message
De
27/08/2015 09:15:31
 
 
À
27/08/2015 03:03:19
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01623888
Message ID:
01623906
Vues:
76
>Fernando,
>
>this add up stuff instead of simplifying.
>
>
.F. # !.T.
>will end up the same as
>
?.F. = .T.
>
>as I wrote somewhere in this thread, it was only about teaching boolean algebra. Multiple negation and the like. Just like while
>
IF ll_X=.T.
>is superfuous.
>
>So I was just curious how old this one is and if it is known.

Oh, I get it now. Well, I think that almost nobody have found this bug because instintively ones write this:

? .F. # .T. or .F. = .T.

in regards of combining # and !

Seems like VFP didn't like using 2 or more operators together. I never tried it before.

Anyway, I've just looked at the help ("Relational Operators" topic), and there are listed all allowed ones, and this combinations are not allowed, then that's why the syntax error.

https://msdn.microsoft.com/en-US/library/3b6st626%28v=vs.80%29.aspx

Can't blame VFP, it's documented :)
Fernando D. Bozzo
Madrid / Spain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform