AbsoluteBeginners

This page is for those new to programming who want to know what to do when they first come across Euphoria. This page may soon be unnecessary as WEE will be included with the Eu package.

I expect that you know what a computer is, that you know what folders, files, and file extensions are, and that you know what a text file is. This howto is also for windows only (although technically there's not a great deal of difference installing onto the wo operating systems)

This page will set you with an editor that has highlighting colouring, and an execute key to load / edit / experiment and run the programs.

It is not the only way to do things, and there will be many opinions of how to do stuff, but as soon as you have done this, you can then go on to find your own way.

I no longer recommend the use of ed.ex, as I believe the editor I have chosen (and there are many to choose from) has all the functionality you need to start programming in Euphoria.

  1. Download and install Euphoria
  2. Download and install the Context text editor from http://www.contexteditor.org/
  3. Download http://www.contexteditor.org/highlighters/Euphoria.chl and put it into the highlighters folder in the context folder.

You now have functioning editing environment. Fire up context and navigate to one of the demos.

To set up Context to run the program

  1. Options -> Environment options -> Execute keys tab
  2. Add button
  3. Enter "ex,exw,eui" (without the quotes), OK
  4. Select one of the function key choices that has appeared (eg F11)
  5. In the execute field, use the browse button to select c:\euphoria\bin\eui.exe (or wherever else you put the Eu install)
  6. In the parameters field enter "%f" (without the quotes)

And that's it. You can now run the program by pressing the F11 key, and see any output in the console window.

You could also set up euiw.exe on another function key, and there will be no console window (unless there's an error)

Once you've played around with this, setting up options and text colours etc, and running a few programs, you are more than welcome to set up your own favourite editor.

Enjoy.

Chris

Search



Quick Links

User menu

Not signed in.

Misc Menu