Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
With/Endwith performance gain.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00455430
Message ID:
00455438
Views:
28
>I know that using WITH/ENDWITH yeilds a proformance gain because the system doesn't have to drill down to the object refrence in question but does WITH This have the same effect? It seems to me that it is the current object anyway so no drilling has to take place anyway.

The performance gain when only going one level deep is negligible or non-existent. The performance gain is only noticable when working with nested objects.

The reason I use With/Endwith for single level operations is readability. I think it's easier to understand and it saves me some typing. ;-)
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform