Re: Simple way to use both versions 3.1 and 4.0
- Posted by dcole Jan 02, 2011
- 4135 views
Thank you Shian Lee,
For your idea.
I'm no longer switching users. I'm using Kat's bat file to change Environmental Variables
First I setup Environmental Variables for ver3 as prescribed.
Then I use Pete Lomax's Edita to run my programs.
It has a file extensions section that tell you what to run by file extention.
.ex="e"\\euphoria\\bin\\ex.exe"--ver3 files .exw="e:\\euphoria\\bin\\exw.exe"--ver3 files .exwc--I really don't know what this is for. I'm using it as a dummy extention to run my ver4 files. .exec="e:\\euphoria-40B3\\bin\\celibate" </encode> That .bat file looks like this: <encode}> @@PATH=%PATH% E:\euphoria-40b4\bin--change the Environmental Variable PATH. @SET EUDIR=E:\euphoria-40b4 --change the Environmental Variable EUDIR. @SET EUINC=E:\euphoria-40b4\include;E:\eu\myinclude;e:\eu\football;e:\eu\win32lib--change the Environmental Variable EUINC. @start /b E:\euphoria-40b4\bin\eui.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 --start the ver4 eui.exe.
Once this is set up all you have to do to run version4 is change the file extension to .exwc.
Don Cole