Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Constants and SYS(5) + SYS(2003)
Message
De
22/09/1999 15:26:58
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00267724
Message ID:
00267729
Vues:
21
Right. All occurence of DEFAULT_APP_TREE in the code (except those inside quotes, "DEFAULT_APP_TREE" will not be replaced) will be replaced by SYS(5) + SYS(2003) before the p-code is actually generated. So DEFAULT_APP_TREE will correctly return the users folder and not yours.
>In my H-file, I have the following:
>#DEFINE		DEFAULT_APP_TREE	SYS(5) + SYS(2003)
>#DEFINE		DEFAULT_DRIVE		SYS(5)
>I fairly certain this is working correctly, but I am looking for some re-assurance. When I compile, the SYS(5) + SYS(2003) is being substitued for all occurrences of DEFAULT_APP_TREE as opposed the current evaluation of SYS(5) + SYS(2003). Right? In other words, on my development machine, this would evaluate, at runtime, to D:\Apps\DFS. On my users, it could evalute to C:\Apps\DFS.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform