Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#DEFINE
Message
 
À
15/06/2000 07:24:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00379262
Message ID:
00380690
Vues:
20
They are used to include or exclude blocks of code. Cool for debugging stuff. Ex:

#DEFINE DEBUGMODE .T.

#IF DEBUGMODE
ON KEY LABEL F3 DEBUG
#ENDIF

When DEBUGMODE is .T. the OKL is compiled into the code. When .F. it's not compiled in the code.

I'm there are many other uses as well

hth

>Roi
>
>What about the #IF.....#ENDIF statement, what would the purpose of these be?
>
>Thanks
>Kev
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform