Re: Opening a file - File Open Dialog spoils future code

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:
> 
> c.k.lester wrote:
> > 
> > Matt Lewis wrote:
> > > 
> > > And having the ex.err file appear in some random place probably isn't
> > > helpful either.
> > 
> > How about for .euinc.conf there's this:
> > 
> > EULOG=%APP%
> > or
> > EULOG=C:\EULOGS\
> > 
> > or somesuch. That could be cool. Apache does this. All its log are located
> > in one directory. Although, I do prefer the ex.err file to be located in the
> > same directory as the source file ("%APP%")... but if somebody had another
> > preference, maybe this could let them determine their own destiny. :)
> 
> Perhaps there is some value in that,
> but I get the feeling that some people in this discussion
> are forgetting that there is already a way
> to specify exactly where you want the ex.err file to go:
> 
>    http://www.rapideuphoria.com/lib_c_d.htm#crash_file

I think there are benefits to both ways.  For an app that you're distributing,
you should probably be using crash_file to put the log in a known, accessible
place.  Especially if you distribute binaries, you probably don't want to
confine your user base to euphoria developers who are the only ones interested
in setting up a euphoria config file.

OTOH, I could see some benefit for the developer to put all of his err files
in a particular place.  Though in this case, the common preference would be
to put it in the same place as the main euphoria file.  It's probably 
sufficient to ensure that the default placement is in the same directory
as the euphoria app.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu