Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pessimistic Row Buffering vs No Buffering
Message
From
18/09/2000 12:41:16
 
 
To
18/09/2000 11:36:41
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00417335
Message ID:
00417676
Views:
19
>> Use 'evaluate()' function instead of '&', it is twise more quick. For
>
>I wondered about that. Have read that the macro substitution is slow.

'&' - that is macro substitution, not evaluate(). MS recommands to use '()' in most cases where possible, or 'EVALUATE()' function where you need only expression calculation. EVALUATE() function is special for expressions, it does not process many VFP commands, so it is more quick. In addition, vartype() recommended to use instead of type() function (I used this in sample too). It also have speed difference, because type() compile expression you give, when vartype just check type of already compiled expression.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform