Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEFAULT vs. PATH
Message
De
31/01/2001 10:49:57
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Titre:
DEFAULT vs. PATH
Divers
Thread ID:
00470654
Message ID:
00470654
Vues:
50
Ever since FPW 2.6 (to now VFP 6.0), in the main.prg, I always used SET DEFAULT TO, like the following:

USE dirpath
STORE dirpath TO dirpath
SET DEFAULT TO &dirpath
USE

We use O:\ (read-only) for all the executables and P:\ (read/write) for databases\tables (not my idea, but thats the way it is here), so I need to direct the execute file to where the data are... What would be different (or better or safer or whatever) if I did the following:

USE dirpath
STORE dirpath TO dirpath
SET PATH TO &dirpath
USE
Today is tomorrow's yesterday.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform