Retrogamecoding(.org) > Other Languages

EuGTK 4.14.2 released

(1/1)

Tomaaz:
Guys, you need to try it. If you already have working OpenEuphoria on your computer, just download EuGTK, extract the archive and that's it (of course, you need to have GTK installed).  Easy to use, plenty of examples, documentation... Great stuff.

Website - https://sites.google.com/site/euphoriagtk/Home

Cybermonkey:
Funny thing, I started a few days ago playing around with EuGTK 4.14.1 and found it really impressive. The only thing is, I need a quick introduction to OpenEuphoria. On the other hand I learned that development stopped. Anyway, it seems a fairly simple to use language.

Tomaaz:
You have experience with BASIC, so you shouldn't have a problem with getting basics of Euphoria in a couple of hours. The only thing that is different is that strings are basically sequences of numbers (atoms) and there is no string data type. This is annoying at the beginning, because


--- Code: ---sequence x = "I like Euphoria"
print(1, x)

--- End code ---

will print


--- Quote ---{73,32,108,105,107,101,32,69,117,112,104,111,114,105,97}

--- End quote ---

The same happens when you use ? x which is shorthand for print(1, x). To print text, you need to use.


--- Code: ---puts(1, x)

--- End code ---

Also, you can declare string using sequence and print it in both ways


--- Code: ---sequence x = {73,32,108,105,107,101,32,69,117,112,104,111,114,105,97}
puts(1, x & "\n")
print(1, x)

--- End code ---

will print


--- Quote ---I like Euphoria
{73,32,108,105,107,101,32,69,117,112,104,111,114,105,97}

--- End quote ---

The good thing is that you can use all sequence manipulation functions to manipulate strings. Plus you have special functions to make your life easier when working with text. lower an upper are perfect examples here - it would be rather hard to change a case of all characters in a string using sequence manipulation.

ScriptBasic:
I'm staying away from languages with no planned future development with an as is status. PowerBasic, FreeBasic are members of this group.

Tomaaz:

--- Quote from: John on September 01, 2018, 03:58:08 PM ---I'm staying away from languages with no planned future development with an as is status. PowerBasic, FreeBasic are members of this group.

--- End quote ---

Yes, this is a problem for me, too. While I can use such a language myself, I wouldn't recommend it to a total beginner who wants to learn programming. I posted it here, because there are not so many (none?) real beginners here and even if we have some, they are interested in BASIC and, for them, OpenEuphoria may be an option ( as John already pointed out many BASICs are in the same position).

Navigation

[0] Message Index

Go to full version