Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining whether a control exists.
Message
 
 
À
16/12/2000 08:36:49
Tony Crawford
Red Wing Business Systems, Inc
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00453834
Message ID:
00454423
Vues:
36
>Thank you all very much for your help in this matter. The only problem is that I'm going to have sleepless nights until I find out what the difference between () and & is - but that isn't a question for you guys. I'll search around to find the answer to that one. Thanks again.

Tony,

Run the following test:
local i, lnSec
lnSec=seconds()

for i=1 to 100000
   if type('oJC')='O'
   endif
next

?seconds()-lnSec   
lnSec=seconds()

for i=1 to 100000
   if vartype(oJC)='O'
   endif
next
?seconds()-lnSec
Vartype works two times faster, than type.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform