From: Robert K. <ro...@br...> - 2003-02-22 16:48:01
|
Richard, I'll put in a default file process. Right now it looks for "dia2code.ini" in the current directory. Actually it looks for DEFAULT_INI_FILE, which we can change based upon the operating system. I'd keep the name as dia2code.ini, only because the product is called dia2code.exe, but after I check it in, the group can do what they prefer. I suppose, what I'd do is: If ini parameter exists process it. else If ./dia2code.ini exists process it else if $HOME/.dia2code/dia2code.ini exists process it. How about that? ----- Original Message ----- From: "Richard Torkar" <ric...@ht...> To: <dia...@li...> Sent: Saturday, February 22, 2003 5:07 AM Subject: [Dia2code-general] Good work Robert! > >HOW TO USE NEW -ini OPTION > > I have one request though :) > 1. Could you make sure that d2c always checks for your ini file in a standard location? > i.e. ~/.dia2code/d2c.ini or whatever. > > BTW, I liked your dot-notation for the ini file :) > > /Richard > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Dia2code-general mailing list > Dia...@li... > https://lists.sourceforge.net/lists/listinfo/dia2code-general > |