Information générale
Catégorie:
The Mere Mortals Framework
I'm not familiar with how Mere Mortals works, but I put it as close to the beginning of the main program as possible, even before any SET PROC's or SET LIBR's, in case those are different for the different environments. If you make the current_environment variable global, you can use it to turn a lot of things on and off for the different environments as well.
>Hi Paul (& all)
>
>On May-10-01 you gave me some great tips about how you map paths to data. One piece of code you sent was this:
>
>>> set_default_command = "SET PATH TO " + machine + '\software\' + current_environment + '\projects\projects1;' + machine + '\data\' + current_environment <<
>
>Where in an MM project would I write and execute this code so that the paths are in place when the DBC opens and loads the views?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement