Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Constants vs Locals
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00269906
Message ID:
00269968
Views:
28
>There is a performance increase using a named constant. It's not evaluated at run-time. See message#268676. George Tasker came up with a test that shows this.


Yes, this is kind of related to that thread about defining SYS() functions and other similar things, something that I would usually use a local for if only needed in one method, but now I'm wondering if a constant might be better. If it weren't for that debugger problem...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform