Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining whether a control exists.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00453834
Message ID:
00454461
Vues:
30
Nadya,

Try this one and see which one is fester.
LOCAL i, lnSec
lnSec=seconds()

for i=1 to 100000
   if type('oJC.Name')='C'
   endif
next

?seconds()-lnSec
lnSec=seconds()

for i=1 to 100000
  if vartype(oJC,Name)='C'
  endif
next
?seconds()-lnSec
BTW, Make sure that oJC does not exist. So how much faster is VarType() now?
Speed isn't everything you see .,,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform