Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining whether a control exists.
Message
 
 
To
16/12/2000 08:36:49
Tony Crawford
Red Wing Business Systems, Inc
London, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00453834
Message ID:
00454423
Views:
34
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform