1. New User

Hi, just thought I'd make a squeek on this page to let people know I'm
here. I only discovered Euphoria two days ago and it takes some getting
use to to realise how elegant this language is. I've spent allready over
20 hours exploring the language and looking at the code many users have
contributed and am really impressed.
        First a little background, I'm an asm programmer mainly writing
drivers
for hardware devices and even wrote a complete version of GSX for an
Elan many years ago just for fun. Now I would like to develope my own os
(32bit). I have allready developed my own crude os based loosly on
Myrtle but with vastly superior disk handling and filing systems.
        What I would like to know is has anyone thought of implementing
Euphoria into an operating system perhaps by converting ex.exe or
exw.exe into dll's or tsr's. By useing the runtime module and reusable
code fragments a complete gui should be quite efficiently implemented
with simpler api's and screen handling than Win95 etc. I am fed up with
all the different languages we have to learn to keep up with the likes
of Microsoft and would like to develope a simple os to develope a web
server that is both easy to maintain and easy to code for.Remember good
old unix compiles for the components within it and I would envisiage the
same for my ideal os. If anyone has any thoughts about this or any
knowledge of what has allready been achieved and implemented please let
me know .

        Thank You......     Dave Fulton (New User)

        email .........     dave.fulton at usa.net

new topic     » topic index » view message » categorize

2. New User

Hello,
  I've just started with Euphoria - I've been programming as a hobbyist on
varios computer for 14 years (and wrote my first interpreter 13 years ago - no
kidding). I wondered if anyone had some how to get a feel for the language
advice. Before a year ago I was an amiga owner but when it died I decided to
get something that was still being produced. I really like what I see - I'm not
tied down with machine specifics and how variables are handled is great.
    Thanks
      Mike

new topic     » goto parent     » topic index » view message » categorize

3. New User

Hi Mike:

>I wondered if anyone had some how to get a feel for the language advice.

I found out a lot about the features of Euphoria by studying the ed.ex
file.
Try to understand and possibly rewrite a piece of the code, and study it
line by line. Open a second window with a helpfile.
These are some suggestions to an interested newcomer.

Good Luck!

Ad Rienks.

new topic     » goto parent     » topic index » view message » categorize

4. Re: New User

Hello Mike

Welcome in the world of Euphoria!

> kidding). I wondered if anyone had some how to get a feel for the
> language advice.

I started to study the examples and started with the getword(),
getdword() functions and build up the knowledge step by step. Just
start with small chunks of separated code. So you can trace what you
are doing.
And allways study code from others you can learn a lot of it.
In the beginning the sequences were very difficult for me but after
the 'Aha' experience you can dream them.

Marcel

new topic     » goto parent     » topic index » view message » categorize

5. New User

Hi Everyone,

I'm new to euphoria and I've been monitoring your messages, trying your
programs, and going your web sites for quite a while now. I got all the
tools to begin with euphoria but teaching yourself takes a lot of time I
don't have!!! I was wondering if you can give me something cool to
program (yet simple) that will get me hooked on euphoria.
BTW, I think it will be way cool if you decided to go through with this
group programing of a game. personally, on the programs I ran and
experiments I made, I don't think euphoria can handle a 3-D graphic mode
and run all the routines and sub-routines without turning your computer
into a 286, but you can go for a nice 2-D from the cool kind (Mortal
Kombat and Co.)

Personally, I'm more into web pages and programing. BTW I think Euphoria
will be perfect for creating windows applications and accesories on it
(Notepad, Modem Utils, Anti-Virus, etc...) I think that another thing
that would use up every bit of Euphoria can be a screen saver for
windows 95. big potential there.


Seeya around.

The Master


P.S.

Izchak, I'd love to get a copy of your text editor when you finish it.

new topic     » goto parent     » topic index » view message » categorize

6. New User

Hello,
        I am a 13 year old who is nuts about programming and computers. I
found Euphoria almost by accident, but like the program already. Are
there any "Windows" versions of Euphoria planned? Also is ex.exe
portable to Unix? Thanks for the attention.


******************************
         Joseph Martin
     joe at cyber-wizard.com
******************************

new topic     » goto parent     » topic index » view message » categorize

7. New User

Hi everyone,

Just like to introduce myself to the list.

I stumbled upon Euphoria just yesterday while searching the web for a 
scripting language to do some task automation around our website 
maintenance. I have my own software company where we develop windows 
software using a tool called WinDev. Although I can do anything and 
everything with that language, it's a bit of a chore for smaller tasks 
because of it's high-level project profile (so it takes quite some time 
to just set up a project).

The great thing is that the Euphoria language is very, VERY close to the 
WinDev language, so I won't have any problems using it. I'll be using 
Euphoria over the next few weeks to do some task automation and I'm 
already sure that I will register Euphoria within that timeframe.

I'm looking forward to discussing stuff with you guys blink

Hans Peter Willems

new topic     » goto parent     » topic index » view message » categorize

8. Re: New User

----- Original Message -----
From: "Peter Willems" <peter at integratedmoves.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: New User


Hi Peter,
I'd like to add my welcome too. I suspect you'll find the Euphoria community
here to be a "weird mob" (Australian term meaning 'hard to understand
sometimes but worth the effort of trying').

>
>     Yep, I already found a great pile of usefull stuff, including
>     Judith's IDE. I'm really looking forward to start using Euphoria
>     and maybe I can write some libraries for the community too (I saw
>     someone asking somewhere for a string manipulation lib...)
>

A string manipulation library is a great idea. It can help you learn lots
about Euphoria's capabilites fairly quickly. In fact, this type of library
is almost a rite of passage for new Eu coders. Please don't hestate to ask
questions or look at similar attempts from the RDS Archives.

--
Derek

new topic     » goto parent     » topic index » view message » categorize

9. Re: New User

Derek Parnell wrote:
> A string manipulation library is a great idea. It can help you learn lots
> about Euphoria's capabilites fairly quickly. In fact, this type of library
> is almost a rite of passage for new Eu coders. Please don't hestate to ask
> questions or look at similar attempts from the RDS Archives.

Yes, welcome Peter. I am rather new here too. I had just commented before 
you arrived how easy it is to manipulate strings in Euphoria, even easier 
than in BASIC. Someone pointed me at the find command as their "friend", 
and indeed it is.

An example. I am writing a system that has prototype letters with tags of 
the form <XXX> (where XXX is three letters) that represent various things 
like names, addresses, dates etc and that must be replaced by some text 
that has the particular value of that variable for the particular person 
that the letter is being sent to.

To make matters more complicated, I don't even know what the full list of 
tags is (and don't want to thank you very much as there are about a 
hundred of them and they get extended) but my person file has matched 
pairs of tag and value. So I read in a person's data and store in a couple 
of sequences as "tag" and "value" (where value[1] goes with tag[1] etc.). 
So I don't have any variable names such as "name", "address" and so on as 
the variable names are all stored in "tag" and the values of the variables 
in "value" in the matching position. This makes my program much smaller 
and it works when new variables are added without any changes being made.

One function that I obviously want is to get into "thisvalue" the matching 
value of a tag whose value I have in "thistag" so all I need to code is:
  thisvalue=value[find(thistag,tag)]
No loops, no searching. I suppose I should have an error test for not found.

Next I want to take my letter and replace all tags by their values. Hey, I 
do need a string function for this and I don't see it anywhere as yet. It 
is a simple replace command something like:
  resultstring=replace(findstring,replacestring,originalstring)
well, let me see if I can write this here and now without any testing...

  function replace (structure findstring, structure replacestring,
      structure originalstring)
    atom ix
    ix=find (findstring, originalstring)
    return originalstring[1..ix-1] & replacestring &
      originalstring[ix+length(findstring)..length(originalstring)]
  end function

again I haven't done any check to see if it exists. But you can see how 
string functions in Euphoria almost write themselves - particularly when 
you know how useful find is.

Another string function that I want is for the same program. I want to 
output some text in a text box with automatic wrap at a point NOT the same 
as the width of the text field and then put some more text to begin at the 
point where the wrapping was occurring and also to wrap but now using the 
full window. e.g. the result might look like this:

(my text box is this big) ---------------------------------------------V
(my wrap point is initially set here)-----------------V

Did you ever live in another country? If so, please
tell about that experience.                            No. ~

Did you ever travel overseas to countries that speak
different languages than your native language? If so,
please tell about your experience.                     Yes. I went to
Europe and visited England, France, Italy and Germany with very brief
stops in Switzerland and Austria. Mostly we managed quite well speaking
English and with our primitive French. Bonjour!

The idea is that the person reading the answers can easily see the Yes or 
No and can then read the text for the Yes answers. At the same time, it 
minimizes the size of the output in printed pages. Incidentally, the 
Yes/No and the detailed answers are substituted from <TAG>s as described 
above.

Ideally I want to do this using variable fonts (I can do it without too 
much difficulty with a fixed font). I suppose that this is possible as I 
saw a function somewhere(the name of which I forget) that returns the 
pixel length of a string so I can keep adding another word until I pass 
the place that I want to stop and then take one word back, chuck in a NL 
and carry on.

Ray

new topic     » goto parent     » topic index » view message » categorize

10. Re: New User

(Hello, & welcome Peter)

Ray,

>From a purely readability aspect, maybe putting the "yes" or "no" at the end
of a line by itself, with any "yes" info on a new line would be even easier
to read?

Just a thought.

Dan Moyer

----- Original Message -----
From: "Ray Tomes" <rtomes at ihug.co.nz>

<snip>

> Another string function that I want is for the same program. I want to
> output some text in a text box with automatic wrap at a point NOT the same
> as the width of the text field and then put some more text to begin at the
> point where the wrapping was occurring and also to wrap but now using the
> full window. e.g. the result might look like this:
>
> (my text box is this big) ---------------------------------------------V
> (my wrap point is initially set here)-----------------V
>
> Did you ever live in another country? If so, please
> tell about that experience.                            No. ~
>
> Did you ever travel overseas to countries that speak
> different languages than your native language? If so,
> please tell about your experience.                     Yes. I went to
> Europe and visited England, France, Italy and Germany with very brief
> stops in Switzerland and Austria. Mostly we managed quite well speaking
> English and with our primitive French. Bonjour!
>
> The idea is that the person reading the answers can easily see the Yes or
> No and can then read the text for the Yes answers. At the same time, it
> minimizes the size of the output in printed pages. Incidentally, the
> Yes/No and the detailed answers are substituted from <TAG>s as described
> above.
>
> Ideally I want to do this using variable fonts (I can do it without too
> much difficulty with a fixed font). I suppose that this is possible as I
> saw a function somewhere(the name of which I forget) that returns the
> pixel length of a string so I can keep adding another word until I pass
> the place that I want to stop and then take one word back, chuck in a NL
> and carry on.
>
> Ray
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

new topic     » goto parent     » topic index » view message » categorize

11. Re: New User

Dan Moyer wrote:

>>From a purely readability aspect, maybe putting the "yes" or "no" at the end
> of a line by itself, with any "yes" info on a new line would be even easier
> to read?
> 
> Just a thought.

Yes, Dan you are right. It is an existing application and many questions 
have No as the answer. With the Yes answer some have short or long answers 
so I am trying to get the short ones on the same line to cut down lines. 
The reason is that then most forms will fit on one page which is highly 
desirable. A peculiar situation for sure.

Ray

new topic     » goto parent     » topic index » view message » categorize

12. Re: New User

>   function replace (structure findstring, structure replacestring,
>       structure originalstring)
>     atom ix
>     ix=find (findstring, originalstring)
>     return originalstring[1..ix-1] & replacestring &
>       originalstring[ix+length(findstring)..length(originalstring)]
>   end function
>
> again I haven't done any check to see if it exists. But you can see how
> string functions in Euphoria almost write themselves - particularly when
> you know how useful find is.

keep in mind, match() works better when finding chucks of strings in larger
chunks of strings. if i want to find "DEF" in a string "ABCDEFG" i would use
i = match("DEF", "ABCDEFG")  in which   i = 4  as the first position to
which "DEF" matches.  it does get a bit confusing sometimes, but it works
well.

> Ideally I want to do this using variable fonts (I can do it without too
> much difficulty with a fixed font). I suppose that this is possible as I
> saw a function somewhere(the name of which I forget) that returns the
> pixel length of a string so I can keep adding another word until I pass
> the place that I want to stop and then take one word back, chuck in a NL
> and carry on.

the function, if you're using Win32Lib is getTextExtent()  which returns
(off the top of my head)  {max_height, max_width, min_height, min_width,
total_height, total_width}  as for EUwinGUI, i'm sure there is an equivalent
function somewhere. this works on all fonts, fixed or variable widths.

~Greg
g.haberek at comcast.net

new topic     » goto parent     » topic index » view message » categorize

13. Re: New User

gertie at visionsix.com wrote:
> Those are in String.e, by Normand Blais. Scroll down to left_str , etc.

Kat

I have downloaded at least 182 things from Euphoria site and people still 
keep mentioning new ones. Do I need to get all 1100?  sad

LOL, Ray

new topic     » goto parent     » topic index » view message » categorize

14. Re: New User

Hi Ray,

> gertie at visionsix.com wrote:
> > Those are in String.e, by Normand Blais. Scroll down to left_str , etc.
> 
> Kat
> 
> I have downloaded at least 182 things from Euphoria site and people still

> keep mentioning new ones. Do I need to get all 1100?  sad
> 
> LOL, Ray

You may be just happy with just ex.exe or exw.exe or exu , 
but if you'll get all 1100 you'll be very very very happy.
 smile not sad

Do you understand how happy I am if I have many
of old versions and plus these 1100 on my hd ?      8-)

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

15. Re: New User

On 26 Jun 2003, at 22:03, Ray Tomes wrote:

> 
> 
> gertie at visionsix.com wrote:
> > Those are in String.e, by Normand Blais. Scroll down to left_str , etc.
> 
> Kat
> 
> I have downloaded at least 182 things from Euphoria site and people still 
> keep mentioning new ones. Do I need to get all 1100?  sad

Only if you need them! Some are so basic, we wonder why they were not in 
the language from the start. When i found Eu, i suggested RobC take a look 
at mirc!

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu