1. Euphoria works???
- Posted by Wayne Thompson <Mrwayne51736 at CS.COM> Oct 27, 2000
- 582 views
You mean I can just open up any text editor, like maybe Notepad, type it some code, and it's ready to run? Don't you have to compile it? The Euphoria that I downloaded came with very vague instructions. Is there a list of commands and what they do? Like what's the difference in print and printf? Wayne
2. Re: Euphoria works???
- Posted by Ray & Debbie Smith <smithr at IX.NET.AU> Oct 28, 2000
- 526 views
Hi Wayne, There should be some doco in the doc\ directory under the directory where you installed Euphoria, usually "c:\euphoria\doc". Look for refman.doc and library.doc. Note: They are text files not word documents. Ray Smith ----- Original Message ----- From: Wayne Thompson <Mrwayne51736 at CS.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, October 27, 2000 11:18 PM Subject: Euphoria works??? > You mean I can just open up any text editor, like maybe Notepad, type it > some code, and it's ready to run? Don't you have to compile it? > The Euphoria that I downloaded came with very vague instructions. Is > there a list of commands and what they do? Like what's the difference in > print and printf? > Wayne
3. Re: Euphoria works???
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Oct 27, 2000
- 511 views
Welcome Wayne! No, you don't have to compile a Euphoria program, because Euphoria is an *interpreted* language. So yes, you can just type in code in a text editor, SAVE IT WITH AN .EX extent, an it's ready to run. And yes, the commands can be hard to figure out (at least for me, anyway); but there are "overview" documentation in both "doc" and "html" folders; the html is easier to use, though they contain the same information. printf lets you print things in a formatted way, like where the decimal point gets placed, how many decimal places are use when numbers are printed, etc. It's *not* limited to printing numbers, though. for example: rate = 7.875 printf(myfile, "The interest rate is: %8.2f\n", rate) yields: The interest rate is: 7.88 because the "%" which is eventually followed by the "f" tells it to print floating point decimals, the "8" tells it to allow 8 places to left of decimal, the 2 tells it to allow 2 places after decimal, and the "\n" tells it to make a new line after it prints what it prints. Dan Moyer ----- Original Message ----- From: "Wayne Thompson" <Mrwayne51736 at CS.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, October 27, 2000 6:18 AM Subject: Euphoria works??? > You mean I can just open up any text editor, like maybe Notepad, type it > some code, and it's ready to run? Don't you have to compile it? > The Euphoria that I downloaded came with very vague instructions. Is > there a list of commands and what they do? Like what's the difference in > print and printf? > Wayne
4. Re: Euphoria works???
- Posted by Irv <irv at ELLIJAY.COM> Oct 27, 2000
- 500 views
On Fri, 27 Oct 2000, Wayne Thompson wrote: > You mean I can just open up any text editor, like maybe Notepad, type it > some code, and it's ready to run? Don't you have to compile it? > The Euphoria that I downloaded came with very vague instructions. Is > there a list of commands and what they do? Like what's the difference in > print and printf? If you'll browse thru the euphoria directory, and open the folder named "html", you'll find all the commands very clearly documented. Start by clicking on the file named "library.html". Internet Exploder should display these pages for you. If you've never done _any_ programming before, only parts of this documentation will make sense. Start by playing with the parts that you do understand, and then experiment by adding new ones *one at a time* . (That's so you know exactly where to find the part that doesn't work). There's a reason every programming language tutorial starts out with "hello world", you know. Regards, Irv
5. Re: Euphoria works???
- Posted by Wayne Thompson <Mrwayne51736 at CS.COM> Oct 27, 2000
- 512 views
In a message dated 10/27/00 8:37:48 AM Central Daylight Time, smithr at IX.NET.AU writes: << There should be some doco in the doc\ directory under the directory where you installed Euphoria, usually "c:\euphoria\doc". Look for refman.doc and library.doc. Note: They are text files not word documents. Ray Smith >> No, I already looked and there's nothing in that about compiling a program. Also there seems to be nowhere to run the program. I am beginning to wonder if Euphoria is a big joke. Wayne
6. 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
7. Re: Euphoria works???
- Posted by Bernie <xotron at PCOM.NET> Oct 27, 2000
- 491 views
On Fri, 27 Oct 2000 14:19:26 EDT, Wayne Thompson <Mrwayne51736 at CS.COM> wrote: > No, I already looked and there's nothing in that about compiling a >program. Also there seems to be nowhere to run the program. I am beginning >to wonder if Euphoria is a big joke. Wayne: I think that you are being confused by reading this list. There are two types of Euphoria which are supported on 3 different platforms. The first type of EUPHORIA is a INTERPETER that only requires you to write a program with any text editor. This type of program is run by TYPING -- EX.EXE MYPROGRAM.EX using DOS EXW.EXE MYPROGRAM.EXW using WINDOWS EXU MYPROGRAM.EXU using LINUX The second type of EUPHORIA is a TRANSLATOR that will translate MYPROGRAM.EX into "C" code which then can be COMPILED into a executable program. The TRANSLATOR runs in DOS, WINDOWS and LINUX outputing the necessary files to used to compile for that platform. The "C" compiler is not included with Euphoria. The Documents that you are reading are for the INTERPTER I hope this clears things up for you. Bernie
8. Re: Euphoria works???
- Posted by ck lester <cklester at YAHOO.COM> Oct 27, 2000
- 495 views
> program. Also there seems to be nowhere to run the program. I am beginning > to wonder if Euphoria is a big joke. > Wayne He's onto us, guys... we can't let this EUPHORIC conspiracy be found out! Set programs on "infect" and fire at will! (or Wayne in this case.) Just kiddin'. Dude, there's hundreds, if not thousands or millions, of people using EUPHORIA for all sorts of things. It's real. You just gotta get real. __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
9. Re: Euphoria works???
- Posted by Euman <euman at BELLSOUTH.NET> Oct 27, 2000
- 493 views
I feel you man, I would like to insure your faith in Euphoria by allowing you another avenue to take if all else fails........ I personally use the below programs to help me out.......... An Editor that's also very easy to use is NoteTab you can get it here! ftp://ftp.privatei.com/pub2/drff/ntfree.zip you'll also need to grab a copy of Jiri Babors Clipbook Library ....... you can get it here! http://www.rapideuphoria.com/clipbook.zip Not to mention, you can execute euphoria .ex .exw files directly fom the editor with a click of the mouse...........very easy to use and program with... > Matt Lewis wrote: > Well, there are some people, better not mentioned, who thought so, too. > Fortunately, there are a lot of other people who disagree (myself included). EUPHORIA RULES!!! Need I say more? euman at bellsouth.net
10. Re: Euphoria works???
- Posted by Wayne Thompson <Mrwayne51736 at CS.COM> Oct 27, 2000
- 510 views
In a message dated 10/27/00 2:16:13 PM Central Daylight Time, xotron at PCOM.NET writes: << The first type of EUPHORIA is a INTERPETER that only requires you to write a program with any text editor. This type of program is run by TYPING -- EX.EXE MYPROGRAM.EX using DOS EXW.EXE MYPROGRAM.EXW using WINDOWS EXU MYPROGRAM.EXU using LINUX >> Thank you for your help. However, what I didn't understand was where do yo type "EXW.EXE MYPROGRAM.EXW" ??? Everywhere I have tried it I get nothing. Wayne
11. Re: Euphoria works???
- Posted by Wayne Thompson <Mrwayne51736 at CS.COM> Oct 27, 2000
- 494 views
In a message dated 10/27/00 2:09:08 PM Central Daylight Time, cklester at YAHOO.COM writes: << He's onto us, guys... we can't let this EUPHORIC conspiracy be found out! Set programs on "infect" and fire at will! (or Wayne in this case.) Just kiddin'. Dude, there's hundreds, if not thousands or millions, of people using EUPHORIA for all sorts of things. It's real. You just gotta get real. >> Actually I have written a quiz-type program in QBasic, with over 200 questions, and one section for two players, and also a smaller program in "C" that works; I am having difficulty understanding this "translator" thing. Doesn't there have to be something to translate it? Also can somebody tell me what all the files under "BIN" are for? There seems to be some duplication. Wayne
12. Re: Euphoria works???
- Posted by Euman <euman at BELLSOUTH.NET> Oct 27, 2000
- 510 views
Wayne, This is what you will wont to do 1) if in windows 95,98 a) click start b) click run c) <type> ex guru the guru program should run (guru is a dos progran) to know what guru.ex does you must read the .docs IF guru does or doesnt run Alot of us are guilty of not reading the manual thoroughly and not fully understanding everything we read... but have to read the manual to begin anything. I suggest reading * install.doc *refman.doc from start to finish..... when you get an .ex or .exw file to run then ask what the translator is...... ----- Original Message ----- From: "Wayne Thompson" Thank you for your help. However, what I didn't understand was where do yo type "EXW.EXE MYPROGRAM.EXW" ??? Everywhere I have tried it I get nothing.
13. Re: Euphoria works???
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Oct 28, 2000
- 517 views
Hello Wayne, at times like these I recall the phrase that is written on the front of the "Hitchhiker's Guide to the Galaxy" - DON'T PANIC - When I first downloaded Euphoria, I had the opinion that it was a toy language that was fixated with ancient technology (MS-DOS) and it stayed on my machine for a least 12 months before I started to give it a serious look. With some patience and a bit of adventure, I wrote a LIFE simulation game. I was hooked. It took me about a week to write the game, most of that time spent was getting to know the language syntax and unique attributes (like sequences). I'm now assisting with Euphoria's Windows development and I'm writing a "commercial" type client-server, database, GUI application for the company I work for. In a nutshell, Euphoria is worth learning. READ THE MANUALS FIRST! But to answer your direct questions... > > Actually I have written a quiz-type program in QBasic, with over 200 > questions, and one section for two players, and also a smaller program in "C" > that works; I am having difficulty understanding this "translator" thing. > Doesn't there have to be something to translate it? The translator for Euphoria programs is a new thing coming from Rapid Development, the creators of Euphoria. It translates Euphoria source code into C source code, which can then be compiled by a C compiler into standard a .EXE. It is still in its early stages and needs a bit more work. For example, it only works with a couple of brands of C compilers, so I suggest you learn Euphoria first, before playing with the translator. > Also can somebody tell me what all the files under "BIN" are for? There > seems to be some duplication. What do you mean by "duplication"? For MS-DOS, the EX.EXE program is Euphoria interpreter program, for WIN its EXW.EXE. These programs read in a Euphoria program and while checking it for correct syntax, it executes it as well. That's what an Interpreter does. A complier, also checks for correct syntax, but instead of executing the program, it converts it into low-level machine language, which then is linked with some library routines to create an .EXE program. There is no Euphoria compiler (yet). ------ Derek Parnell Melbourne, Australia (Vote [1] The Cheshire Cat for Internet Mascot)
14. Re: Euphoria works???
- Posted by Wayne Thompson <Mrwayne51736 at CS.COM> Oct 27, 2000
- 512 views
- Last edited Oct 28, 2000
In a message dated 10/27/00 6:03:40 PM Central Daylight Time, dparnell at BIGPOND.NET.AU writes: << at times like these I recall the phrase that is written on the front of the "Hitchhiker's Guide to the Galaxy" - DON'T PANIC - >> I read "Hitchhiker's Guide to the Galaxy." I think it is some of the best science fiction I ever read. When I first started fooling with "C" I had a lot of problems and I still haven't figured out "pointers." Compared to QBasic and Fortran, C is retarded. Wayne
15. Re: Euphoria works???
- Posted by Euman <euman at BELLSOUTH.NET> Oct 27, 2000
- 498 views
- Last edited Oct 28, 2000
Pointers: 1) array names 2) arrays of 3) heap memory allocation 4) defining 5) dereferencing 6) file pointers 7) heap values 8) integer Pointers 9) storing ALL BASIC C ?????????????? ----- Original Message ----- From: "Wayne Thompson" <Mrwayne51736 at CS.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, October 27, 2000 9:52 PM Subject: Re: Euphoria works??? > In a message dated 10/27/00 6:03:40 PM Central Daylight Time, > dparnell at BIGPOND.NET.AU writes: > > << > at times like these I recall the phrase that is written on the front of the > "Hitchhiker's Guide to the Galaxy" - DON'T PANIC - >> > I read "Hitchhiker's Guide to the Galaxy." I think it is some of the best > science fiction I ever read. > When I first started fooling with "C" I had a lot of problems and I still > haven't figured out "pointers." Compared to QBasic and Fortran, C is > retarded. > Wayne >
16. Re: Euphoria works???
- Posted by ck lester <cklester at YAHOO.COM> Oct 27, 2000
- 520 views
- Last edited Oct 28, 2000
Read the friendly manual! > I am having difficulty understanding this "translator" thing. > Doesn't there have to be something to translate it? The ex.exe file that gets placed in your path in the C:\EUPHORIA\BIN directory is what is used to translate and execute EUPHORIA files (*.ex). So, when you type "ex myprog.ex," your operating system will go to the C:\EUPHORIA\BIN directory and run the "ex.exe" file using "myprog.ex" as the code to translate and execute. However, you can also bind your programs to run as stand-alone executables! Cool. > Also can somebody tell me what all the files under "BIN" are > for? There seems to be some duplication. Get specific. -ck _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
17. Re: Euphoria works???
- Posted by =?iso-8859-1?B?Igc=?= <mwfch at MWEB.CO.ZA> Oct 28, 2000
- 593 views
------=_NextPart_000_0054_01C04084.7186E320 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable >Compared to QBasic and Fortran,C is retarded. Eh, so in other words , what you just said is like saying : Compared to a stripper (QBasic) and Moses (Fortran), God (C) is = retarded. ------=_NextPart_000_0054_01C04084.7186E320 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV>>Compared to QBasic and Fortran,C is retarded.</DIV> <DIV> </DIV> <DIV>Eh, so in other words , what you just said is like saying :</DIV> <DIV> </DIV> <DIV>Compared to a stripper (QBasic) and Moses (Fortran), God (C) = is=20 ------=_NextPart_000_0054_01C04084.7186E320--
18. Re: Euphoria works???
- Posted by Wayne Thompson <Mrwayne51736 at CS.COM> Oct 28, 2000
- 514 views
I have been chastised for disrespecting the great C. What should I do for penance? Wayne
19. Re: Euphoria works???
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Oct 29, 2000
- 519 views
Write a compiler in C for Euphoria ------ Derek Parnell Melbourne, Australia (Vote [1] The Cheshire Cat for Internet Mascot) ----- Original Message ----- From: "Wayne Thompson" <Mrwayne51736 at CS.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Sunday, October 29, 2000 9:06 AM Subject: Re: Euphoria works??? > I have been chastised for disrespecting the great C. > What should I do for penance? > Wayne
20. Re: Euphoria works???
- Posted by =?iso-8859-1?B?7As=?= <mwfch at MWEB.CO.ZA> Oct 28, 2000
- 525 views
- Last edited Oct 29, 2000
Well , well . I got it ! Write Half-Life 3 ! Ok , thats too harsh . Kiss your dog 500 times ! Naa . Ok , now I have it . Tell us the funnyes joke you can make up . Note : make up ! . So , give me your best shot . Ferdinand Greyling O yea , welcome to the family ! ----- Original Message ----- From: Wayne Thompson <Mrwayne51736 at CS.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Sunday, October 29, 2000 12:06 AM Subject: Re: Euphoria works??? > I have been chastised for disrespecting the great C. > What should I do for penance? > Wayne
21. Re: Euphoria works???
- Posted by David Mosley <pmosley at INFOWAY.LIB.NM.US> Oct 29, 2000
- 525 views
-----Original Message----- From: ì <mwfch at MWEB.CO.ZA> To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU> Date: Sunday, October 29, 2000 5:58 AM Subject: Re: Euphoria works??? >Well , well . I got it ! Write Half-Life 3 ! Ok , thats too harsh . Kiss >your dog 500 times ! Naa . Ok , now I have it . Tell us the funnyes joke you >can make up . Note : make up ! . So , give me your best shot . > >Ferdinand Greyling > >O yea , welcome to the family ! > >> I have been chastised for disrespecting the great C. >> What should I do for penance? >> Wayne > Hi No,No you have to do this: 1,Delete window's from your hard drive. 2,Put DOS back on for one year.Then you will make happy the DOS God,but then the Windows God will be unhappy.So you should then put Linux on your computer that will make the Linux God happy,but you will not be. 3,Then,Turn towards Canada and ask for forgiveness,that you used anything but Euphoria to program with. Then and only then will you be forgiven for this sin. David Mosley pmosley at infoway.lib.nm.us Web page: http://users4.50megs.com/dmosley/liberty/ http://users4.50megs.com/dmosley/