Re: Euphoria works???
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Oct 27, 2000
- 516 views
> From: Wayne Thompson > No, I already looked and there's nothing in that about compiling a > program. Also there seems to be nowhere to run the program. If you haven't already, take a look at the refman.htm file in the html folder, and look at section 1.3. This tells you how to run a Euphoria program from the DOS command prompt (in Win9X, select run from the Start menu, and type 'command'). As others have mentioned, you can also associate the file extensions .ex and .exw with the interpreters, ex.exe and exw.exe, which should be in your euphoria\bin folder, which should be in your PATH. (Make sure you've rebooted after installation to update your system settings.) So, let's suppose you've gotten into the command prompt, and you're in C:\Euphoria\Demo To run queens.ex type: "ex queens.ex" You cannot directly 'compile' a Euphoria program. It's an interpreted language, so, typically you run the interpreter (ex.exe or exw.exe) and pass the name of the file containing your Euphoria source code as a command line option (or double click in explorer). If you have the registered version, you can 'bind' a program, which creates a stand alone executable by combining the interpreter with your source code into one file. Alternately, you can download the new Eu to C translator from the Eu web page, and use one of the supported C compilers to compile your program. If you're looking for a good editor, my favorite is EE by David Cuny (get used to seeing his name and code all over the place), and the IDE that comes with Win32Lib (and is being extended as we speak) is a pretty handy visual tool (very similar to VB). > I am beginning > to wonder if Euphoria is a big joke. Well, there are some people, better not mentioned, who thought so, too. Fortunately, there are a lot of other people who disagree (myself included). Matt Lewis http://www.realftp.com/matthewlewis