Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Evaluate() Problem
Message
De
21/03/2003 19:45:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00768800
Message ID:
00768838
Vues:
23
Like Fred, I also have no problem running that code. So, what version and service pack are you using?

Alan

>I had the following two properties set as follows:
>
>This.cWhereBase="PID=' '.Or.PID$This.cOpenNodes"
>This.cWhereUser=".T."
>
>The following code fails with an error message (Function argument value, type or count is invalid.):
>
>Scan While .T. for Evaluate(This.cWhereBase+".And."+This.cWhereUser)
>
>However if I change This.cWhereUser as follows everything works fine:
>
>This.cWhereUser="1=1"
>
>In the first case in the debugger evaluate(This.cWhereUser) returns at character type expression of '.T.' when I expected a logical value.
>
>Is this a bug or just the way the evaluate function works? It seems like it did not evaluate the ".T."
>
>Thanks
>Simon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform