Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Euphoria?

Author
Message
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 20th Jul 2004 00:18
I downloaded euphoria last night, and I have no idea what to do? Has anyone even attempted this new language? Because they claim it is more powerful than c++, well frankly I have a hard time believing that, so I want to try it out.

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
GothOtaku
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Amherst, MA, USA
Posted: 20th Jul 2004 01:27
I've used it. I think it's a nice, simple language that's pretty powerful. I usually recommend it to hobyist and beginning programmers over other languages. However, I doubt that it would beat well-coded C++ at many tasks (and definitely not well-written C).
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 20th Jul 2004 01:33
See, i've been wanting to get a hold of a complier for c++, because if all the games you see on shelves are written in c++, then I want in on it. It looks pretty simple, but its not an oop language, which makes its game development properties less, well good. And can you even code quality 3-d games in it?

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th Jul 2004 02:39
Can it make DLL's ?


Are you sensitive enough?
GothOtaku
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Amherst, MA, USA
Posted: 20th Jul 2004 03:15
Yeah, you can do 3D games in Euphoria, I think there's actually libraries for it already. As for DLLs, maybe? Check http://www.rapideuphoria.com/
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 20th Jul 2004 03:22
thanks man, seriously I have no idea, whatsoever how to even start, I havent even put in a command, because I dont know where to put it?

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th Jul 2004 03:25 Edited at: 20th Jul 2004 03:33
Ah, no it cant...


Are you sensitive enough?
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 20th Jul 2004 03:29
I would love to get some tutitorials on it.

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 20th Jul 2004 03:31
Oh yeah, it says you can make dll's, but they said it was more powerful then c++, you can never be too sure.

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
GothOtaku
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Amherst, MA, USA
Posted: 20th Jul 2004 04:34
For tutorials and reference manuals check the documentation part of the website. The syntax is roughly equivalent to BASIC but it has some unique data types (atom, sequence, object). All-in-all it's pretty easy to learn.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th Jul 2004 04:40
You can only create DLL's when converting Euphoria to C - which isn't really the point.


Are you sensitive enough?
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 20th Jul 2004 13:48
Yeah, now that you mention it, it did say something like that, damnit, damnit damnit, damnit. That was one of the reasons I lokked into it, so I could make dll's for db. Oh well, tell me one thing goth, how do you start, the readme file doesnt say?

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
GothOtaku
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Amherst, MA, USA
Posted: 21st Jul 2004 00:35
First get the interpreter installation file e4setup.exe from the website and then download Win32lib if you want to make Windows programs. Now write your program ( puts(1,"Hello, world \n") -- Hello world program) and save it as <whatever>.ex or <whatever>.exw (for windows). Now when you save the file if its icon changes to be the Euphoria logo, you're all set, just double-click on the file and it'll run. If the icon doesn't change then go into the command prompt and type ex (or exw for windows) followed by the filename. If this still doesn't work then go into the directory that Euphoria was installed to and type the command (this means that your PATH environment variable wasn't set by the installation program).
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 21st Jul 2004 00:42
yeah, but where do you actually write the program?

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st Jul 2004 01:30
In notepad, edit or your favourite text saving editor.


Are you sensitive enough?
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 21st Jul 2004 02:07
wow, thats cool, thanx

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 21st Jul 2004 02:10
it doesnt work, it says unknown command its ( puts(1,"Hello, world \n") -- Hello world program) right?

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
GothOtaku
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Amherst, MA, USA
Posted: 21st Jul 2004 03:04
-- Hello World
puts(1,"Hello, world \n")
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 21st Jul 2004 05:04
that seems complicated, all that just for it to print "hello world" to the screen?

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 21st Jul 2004 05:11
when I click on the euphoria logo thing, it comes up for a split second then goes away?

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 21st Jul 2004 05:23
Quote: "that seems complicated, all that just for it to print "hello world" to the screen?"

if it's more powerfull then c++ then it's not going to be simple


Formerly known as "DarkWing Duck"
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 21st Jul 2004 05:55
dude, its probably not, because its not an oop language

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
GothOtaku
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Amherst, MA, USA
Posted: 21st Jul 2004 06:29
It goes away because it runs, printing hello world, and exits because that's all it's been told to do. puts (for put string) isn't that bad compared to some languages. But puts prints ANYTHING sent to it due to Euphoria's flexibility.
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 21st Jul 2004 08:05
hmm, is there some kind of wait command?

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
GothOtaku
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Amherst, MA, USA
Posted: 21st Jul 2004 08:17
wait_key(), I think is what you want.
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 21st Jul 2004 11:52
cool, thanks man, can you kinda keep checkin back in case I need help? plzzzzz.

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 21st Jul 2004 11:55
it says that "wait_key() has not been declared" oh well I'll figure it out.

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...
GothOtaku
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Amherst, MA, USA
Posted: 21st Jul 2004 23:46
Oops, forgot to tell you to put "include get.e" on top of your program (omit the quotation marks). So it should now be:

include get.e
-- Hello world program
puts(1,"Hello, world. \n")
atom i
i=wait_key()

Check here for more details on the library: http://www.rapideuphoria.com/library.htm
Lzdude69
20
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 22nd Jul 2004 00:22
thanks again man

When I die...I want to be buried upside down...So thy critics can kiss my a$$...Oh yeah, Im not dying...

Login to post a reply

Server time is: 2024-11-25 15:52:09
Your offset time is: 2024-11-25 15:52:09