Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set default to...
Message
From
13/07/2001 04:49:49
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00528803
Message ID:
00530113
Views:
16
>Len,
>
>Nancy posted the most likely solution to the problem in her original post to Lucien. Since he's not made any other posts in the thread it's impossible to know if hers is the correct solution.
>
>If you and Andrew aren't capable of scanning the whole thread to see the answer it's not Nancy's problem.
>
>Macros work perfectly well inside method code.
>

Not so much a solution as a workaround - if macros don't work then don't use them.

I agree that macros should work in both cases & I would be interested to know why they didn't in the first place. I had assumed (possibly wrongly) that in the original question, that the path used in both instances was the same, so Nancy's comment about spaces causing it not to work seemed to be as much out of order as Andrew's theory. Macro substitution should work the same in either place. Similar to her comments about Andrew testing out his theory - had she spent the 5 minutes she suggested testing her theory & proving that having spaces in the path will cause macro substitution to fail in classes but not in programs. I spent the time trying it & could not get the inconsistent results of the original problem. Maybe Nancy's solution worked - but her theory behind the original problem is as dubious as Andrews.

>>There was nothing to explain to Andrew (or myself) as to why he was wrong, & it's lowered my opinion of her considerably.
Len Speed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform