Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of #DEFINE in form methods
Message
De
27/03/2003 04:05:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00770203
Message ID:
00770643
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform