Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#Define and debug problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00084903
Message ID:
00084912
Vues:
23
>>I am just trying to find out how to track the "value" of a DEFINEd
>>constant in the debugger, if there is a way.
>>
>>Thanks.
>
>Tom, since the manifest constant is no longer in existance when the code is running, there is no way to see its value. The replacing of the constant with the value took place when the code was compiled. To see the value that was used you would need to open the source and look at the #DEFINE line to see what it is assigning.

--------------
Thanks, Jim,
I saw this message when I logged on to explain that I
finally figured it out:

I had put the #DEFINE (remember, I'm converting a legacy
app, not written by me) into the PRG.

But, I just discovered I need to put it in the .H file
(there's one already), so it will be available to the form.

Thanks, Tom
Tom Hayward, Visual FoxPro Programmer and Tutor
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform