Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TYPE variable error
Message
 
À
24/01/2009 09:53:31
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01376717
Message ID:
01376718
Vues:
14
This message has been marked as the solution to the initial question of the thread.
Jay,

The proper syntax is
		IF TYPE('lcExistingValue') = 'C' AND !EMPTY(lcExistingValue)
HTH

-Dan

>Getting "Function argument value, type, or count is invalid" error on this line if lcExistingValue is .F. when getting here. I still can't figure out what is the best way to check for the existence of a variable and whether it has a value.
>
>		IF TYPE(lcExistingValue) = 'C' AND !EMPTY(lcExistingValue)
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform