Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a Bug?
Message
 
 
To
22/07/2003 14:04:04
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00812190
Message ID:
00812471
Views:
12
Naoto,

VFP will compile the line after making the text substitution and see that part of the line should be commented out, and probably unsuccessfully execute what was intended. Especially if the FOR clause of a REPLACE gets commented out and it ends up blowing away the values of the entire table.

There's always a way of writing the code to avoid & macro substitution like what I posted a couple of messages back.

>... but guess what happens if you use the variable in a macro expansion?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform