RE: Simple Euphoria Suggestion

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

Bernie Ryan wrote:
> 
> 
> I am reposting this because of the topica posting being messed up
> a couple of days ago, I thought I would see some reply or disscusion.
> 
> 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're getting at.  All Eu does is close the 
file?  It will do that automatically anyway when the program shuts down 
(or exits with an error), so what do you need a special function for?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu