Re: Dumb question by a beginner
>From: Jerry Shirey <IsaacJBS2 at AOL.COM>
>Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU>
>To: EUPHORIA at LISTSERV.MUOHIO.EDU
>Subject: Dumb question by a beginner
>Date: Sat, 1 May 1999 20:43:55 EDT
>
> Hey everyone. I just started with Euphoria (got tired of struggling
>with C
>and C++) and I'm basically a rookie here. The reason I had trouble with
>C/C++ was that I was able to get the compiler to do what I wanted less than
>half the time, no matter how many examples I explored! And basically,
>screwing around with simple code is how I get a grasp of a language and
>learn
>to use it for myself.
> Well, I've been reading the documentation, and now I'm trying to get
>simple
>routines to run - ones that originate completely from myself. Right now,
>I'm
>tinkering with functions and procedures, so forth.
> Here's one I'm sure everyone understands but me.
I don't seem able
>to
>find any directions, or examples that I can fathom, of how to pass
>information back and forth between functions, or from the main program to a
>function and back again.
> As I understand it, a EU procedure is when you don't need any
>information
>returned to the rest of the program, while a function is used when you do.
>I'm not clear on what the uses there are for a procedure if all you can do
>is
>pass it a value, have it work on the information, then get nothing back
>(which makes me question my understanding of it).
> But regardless, my experiments with functions have only yielded me
>errors.
>When I look at other programs, I don't quite see how the main program is
>passing information to the function, nor do I see how the main program is
>receiving this information back - where does it store the data, etc.. So
>then, how do I correctly pass this sort of information back and forth
>between
>procedures/functions? Perhaps someone could send me some simple code, and
>tell me what the assignments actually are in the example, since I'm not
>getting it from the existing examples I've seen?
> Perhaps I'm just not reading the documentation correctly, or I'm
>overlooking some existing examples. There seems to be some hole in the
>documentation and such that comes with EU, to me. Which, again, makes me
>wonder what I'm missing. I also don't seem able to locate any index of
>error
>codes and messages.
>
> THANKS to everyone and anyone in advance. I hope to be contributing to
>the
>group soon, if I can move beyond the realm of "trying to get a basic
>understanding..."
> Hopefully, I won't be asking too many more easy ones.
>
>IsaacJ
HIya.. I had problems like this too at fiirst but i found that its a liot
like QBasic(sorry if anyone takes that as a insult) ... if you have icq we
can chat and i can explain thing's better....
Grape
icq num 13728824
here are a few pages to help you
http://m2.aol.com/FilesEu/
http://www.cdc.net/~lhilley/
Grape Vine
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
|
Not Categorized, Please Help
|
|