Re: What I'm doing wrong?
- Posted by mattlewis (admin) Sep 28, 2011
- 1100 views
This is why i never have allowed Euphoria extensions to be associated with anything but TextPad. That way i can do nonsense like this:
@PATH=%PATH%;C:\euphoria40b4-3412\bin;C:\euphoria40b4\include @SET EUDIR=C:\euphoria40b4-3412 @start /b C:\euphoria40b4-3412\bin\eui.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
That's an older bat file, but i call the bat file, not the exe, so the bat file sets up the environment. However, i hear there's new built-in ways to do that in v4, but i have not tried them.
Indeed. What I've done (this is on Linux, so YMMV) is to have 4.0.0, 4.0.1, 4.0.2 and 4.0.3 in their own directories. Then, I have a separate directory where I have made the appropriate symlinks using eui400, eui401, euc400, etc. This directory in in my $PATH. In the directory where the binaries are, I have eu.cfg files that point to the correct std library and whatever else. I typically have something close to the tip of 4.1 development code installed as the default eui in /usr/local.
So I can easily run any of those versions to test things out.
Matt