Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
? Debugmode
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00060928
Message ID:
00060990
Vues:
24
>When running Tasmanian Traders, environment.set, at some point
>
>IF !DEBUMODE
> SET ESCAPE OFF
>ELSE
> SET ESCAPE ON
>ENDIF
>
>executes perfectly.
>
>I figured this was an ok thing to do and used the same approach, but lo and behold, the thing bombed with a Variable DEBUGMODE not found.
>
>No amount of tracing and debugging the TT app reveals where the heck
>debugmode is set, in fact TT does not know about it either but does not seem to be bothered by it.
>The help file never heard of debugmode either.
>
>Am I missing something here, or maybe rather, what am I missing ?
>
>Regards
>
>Peter

Debugmode is set in the include file TASTRADE.H. I don't like using include files, and even if I did I wouldn't take this approach to setting a "debugmode" variable. I put mine in an environment table that's read on startup, and use a small function to toggle it on or off from the command window.
Darren Young
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform