Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of #DEFINE in form methods
Message
From
27/03/2003 04:05:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00770203
Message ID:
00770643
Views:
11
Hi Dan,


>You can put your #DEFINEs in a header file and include that in the class or >form and they'll be available everywhere. (From the Class or Form menu, >choose "Include File".)

But Stewart is seeing a constant defined in one method still in scope in another method - this is not per documentation. E.g:

Method A:
#DEFINE MYCONSTANT 2
Method B:
a = 5 + MYCONSTANT && works

Regards,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform