Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#INCLUDE problems....
Message
 
À
01/11/1999 17:03:05
Paul Wyett
Resource Link Software
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00285084
Message ID:
00285395
Vues:
18
>file test.h
>
>#define user 5
>messagebox(user)
>
>*end file
>
>#include test.h

Paul,

#INCLUDE files hold compiler directives. They must be Included in every form, report, program, and class as each of these is compiled spearately. Your example is flawed in logic, here'e an example that accomplishes the same goal;

* Test.H
#DEFINE kUser 5
*End

* Program
#INCLUDE test.h
#IFDEF kUser
MessageBox(User)
#ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform