Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Diff. between TYPE() of object and object.name
Message
 
À
13/08/2007 05:36:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01247740
Message ID:
01247767
Vues:
21
Hi Tore

>Vartype() was introduced after type(), and what I heard was that it was preferrable because it was faster and safer. I think that I once read that there are a few rare cases where vartype() is not recommended, but I am not absolutely sure. Personally I always use vartype().

That is nice to hear, as you have been using it have not encountered a problem with it, then I guess is it safe. Please check out Borislav's response to this thread, I used his codes and added equivalent VARTYPE() calls, the 4th call of TYPE() which return a U, generate an error when replaced by VARTYPE().
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform