Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution and evaluate - which to use
Message
From
20/07/2007 05:35:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01241954
Message ID:
01242249
Views:
21
>>I know but I'm glad someone at last pointed out to use the name expression instead of unnecessary text...endtext and the slower &.
>>Cetin
>
>Good point. The only place we need to use macro is fields and where clauses (and join if we build it as string). So, we can try to minimize its usage.
>
>Though I'm not sure what is quicker:
>
>lcSelect = whole select string
>&lcSelect
>
>or
>
>select &lcFields from (lcTable) &lcJoin where &lcWhere into table (lcTable)

Join and where unlikely needs macro. Latter would be faster.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform