Re: First ever IRC meeting has finished

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

Jeremy Cowgar wrote:
> 
> Jason Gade wrote:
> > 
> > Which is the point that I was trying to make, put more succinctly thank you.
> > 
> > If you are distributing platform-dependent code, then put in a call to
> > platform()
> > somewhere.
> 
> The problem is not the code not looking for a platform, it's the platform not
> using the right exe to execute the code because the associations are installed
> wrong via the Euphoria installer.

Right, which Matt pointed out was a problem really only affecting Windows.

> 
> I think the right thing to do is:
> 
> .e, .ew, .eu are all valid includes
> .ex = link to ex.exe
> .exw = link to exw.exe
> .exc = link to exwc.exe
> 
> I really think it's that easy. No voodoo involved.
> 
> .exw = any platform, windowed.
> .exc = any platform, console.
> .ex = dos
> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

.exw = Windows specific
.ex = generic or DOS specific
.exu = *nix specific

Platform specific code should have platform() checks. The Windows installer
should associate .ex files with exwc.exe, unless the user has specifically
installed the DOS version of the interpreter.

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu