Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of #DEFINE in form methods
Message
From
27/03/2003 03:24:41
 
 
To
26/03/2003 09:47:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00770203
Message ID:
00770637
Views:
8
Hi Stewart,

>Has anyone else come across this behaviour?

Yes. And in contradiction to the documentation which specifically states that the constant is only available in the methods in which it is declared.

>Any ideas on how to stop it?

A #UNDEF immediately before the PUBLIC.. line seems to work (you could put it at the end of each method with a #DEFINE for clarity but that's more work)

Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform