Re: A better way to do this?
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Feb 26, 2005
- 453 views
Pete Lomax wrote: > > > On Fri, 25 Feb 2005 22:10:46 -0800, "D. Newhall" > <guest at RapidEuphoria.com> wrote: > > >Without re-includes I can't do 70% of the projects I have planned but > >haven't gotten around to implementing yet. > Nonsense. Write test.e. Write a batch file: > copy test.e test2.e > copy test.e test3.e > ... > and run it every time you amend test.e. > Then you can include to your hearts content. > > Pete > Duplicating code is really silly, and this particular solution has even more flaws. It's not platform-independent. Yeah, I know that you could make it to run on every platform currently supported by euphoria simply by using "cp" instead of "copy" on linux and freebsd, but I'm talking about platforms still waiting for being taken over by euphoria. For example, you can't expect an embedded system to even be able to change the files it has in its memory. And this means that programs that are generally portable, will have to be changed before being run on a new platform. Regards, Alexander Toresson And yes, I advocate for an open source euphoria.