Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My wish to VFP 7.0
Message
From
19/03/2001 11:50:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/03/2001 03:01:09
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00484748
Message ID:
00486503
Views:
16
>>This is really the situation I was asking for examples on.
>
>Well they're numerous because there are a lot of VFP commands that don't allow name expressions as an argument. To name a few:
>
>BROWSE FIELDS &cFields
>SCAN FOR &cForclause && EVAL() solution will not be optimizable
>LOCATE FOR &cForClause
>ALTER TABLE Mytable &cAlterColumns

Create Table MyTable &cCompleteDefinitionInAString
Create Cursor MyCursor &cCompleteDefinitionInAString

Yes, you can do these with arrays, but nowadays these arrays have 17 columns and they need a certain structure to be maintained - Create Table/Cursor is much easier, and faster (consider the time to build the array, in both coding and run time).

>Though I agree that & is subject to abuse in many cases. I'm convinced that in certain cases it is really helpfull as & the best and clean way to solve the problem.

I think quoting Jerry Purnell (sp?) is due: "Most of the time you don't need it, but when you need it, you need it bad".

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform