Re: Simple Euphoria Suggestion

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

It was not writing out buffered data at the time I created elog.e
Each call to my routine would:
open the log file
write a line to it.
close the log file

        Lucius L. Hilley III

----- Original Message ----- 
From: "Robert Craig" <rds at RapidEuphoria.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Simple Euphoria Suggestion


> 
> 
> Bernie Ryan wrote:
> > Why could'nt Euphoria have a magic builtin function that
> > would take a parameter which would be the name of a file.
> > 
> > Then the user could create or open a file and use it for
> > cleanup, error dumps, crash information, etc... Whatever
> > the user wants to use it for.
> > 
> > Then when a user writes a program, the user at the beginning
> > of his program calls the magic built-in function to tell Euphoria
> > the name of his file or its file number.
> > 
> > All the Euphoria code has to do is save the name of the
> > file and when Euphoria shuts down or terminates,
> > it simply closes this file. 
> > 
> > This would be very easy to implement.
> > It could be used even when program don't crash.
> > It would have more uses than a crash message.
> 
> I don't understand what you are saying here.
> Isn't it easy enough to open a debug file and
> write whatever you like into it? If your program
> dies prematurely, Euphoria will close the file for you
> and write out any buffered data. Also, there's already
> a way to change "ex.err" to the path of another
> file in another directory (see crash_file()).
> 
> Regards,
>     Rob Craig
>     Rapid Deployment Software
>     http://www.RapidEuphoria.com
> 
> --^----------------------------------------------------------------
> This email was sent to: l3euphoria at bellsouth.net
> 
> 
> TOPICA - Start your own email discussion group. FREE!
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu