Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spaces in filenames...
Message
From
19/11/2003 20:08:51
 
 
To
19/11/2003 19:56:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00851695
Message ID:
00851700
Views:
10
Use name expressions (notice the parens around the variables).
copy file (m.x) to (m.y)
Name expressions are faster and more reliable/predictable than macro substitution. In fact, there are comparatively few valid reasons to use macro substitution at all. Offhand I can think only of computed SQL statements and function calls to computed names (cannot use DO (m.cPrg) because there is no TO clause that would allow catching the return value, and not all functions provide a reference parameter for the result).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform