Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#Include
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00885954
Message ID:
00885986
Vues:
12
Stephane,

#include is a compile time thing, it can't evaluate a string.

If you have a SET PATH environment in place you should be able to just:

#include test.h


>Is there any way for this to work ?
>
>
>
>*-- c:\test\Test.h
>#define MyTest 1
>
>*-- Some program
>#define build_root "c:\Test\"
>#include build_root + "Test.h"
>? MyTEST && Error: Variable MyTest is not found
>
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform