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

Click here to load this message in the networking platform