1. How to compile? (was Re: More info)
- Posted by Irv <irv at ELLIJAY.COM> Aug 12, 1998
- 579 views
Eric Brower wrote: > > Hello, Im very new to Euphoria and i was wondering wich file do i need to > run in the bin directory where i enter all the code and stuff, and then how > do i compile it? > Hello: 1. Write your program in any good text editor, and save it as, for example: MYPROG.EX (save as a text file, if you're using a Windows editor) 2. At the DOS prompt, type EX MYPROG - this byte-code compiles and runs the prog. 3. Stand back. Well, ok, more likely, fix the typos and try again. An editor comes with Euphoria (ed.ex) which you run by typing EX ED followed by the name of your program, i.e. EX ED MYPROG.EX. This is a good editor, but you will _REALLY_ want to download Dave Cuny's EE text editor from the RDS website. It makes writing, debugging and running Euphoria programs much easier - multiple files, syntax highlighting, subroutine index, place the cursor on the error, all sorts of good stuff. (free of course) If you did the automatic install of Euphoria, you do not have to be in the EUPHORIA\BIN directory (in fact, it's best to stay out of there). You can edit and run your programs from C:\EUPHORIA, or most anywhere you want. Look at the programs on RDS' site, or on my Euphoria Archive site for samples to learn from. http://www.mindspring.com/~mountains Regards, Irv Mullins