Re: Simple Euphoria Suggestion
- Posted by Elliott Sales de Andrade <quantum_analyst at hotmail.com> Sep 25, 2003
- 419 views
>From: Bernie Ryan <xotron at bluefrognet.net> >Subject: Simple Euphoria Suggestion > > >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. > It always closes the open files. In fact, Windows automatically closes any open file in a program when the program exits. Perhaps, you want Euphoria to flush the file, too. It might do this already, too; I'm not sure. >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. > >Bernie > > > > >TOPICA - Start your own email discussion group. FREE! > >