Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#DEFINE won't define
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01396024
Message ID:
01396031
Vues:
72
Hi Ian

>Given that the error is a type mismatch the #Define is working or you have a variable named File_Ok defined. My guess is that either the return value of the parent method is not numeric, or not specified at all which would cause it to be logical.
>
>Just check the value of lnRetVal after the DoDefault call and it should be clear.

Thanks I missed that one completely, I check the base classes and yes somewhere in the framework is has this
LPARAMETERS tnRetVal

RETURN
thus like you said converting the value to logical.

Thanks a lot.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform