Re: Success at last...thank you all

new topic     » goto parent     » topic index » view thread      » older message » newer message

David,

1.  include files are files which can contain a variety of individual
functions or procedures or even constant or variable declarations;  when
those files are "included" in your program by the "include" command, the
procedures or functions or constants or variables in that include file are
then made available for your program to use.  The interpreter "merges" the
include file with your program, pretty much.  Let's say someone writes a
bunch of useful functions, and then instead of re-typing all or selected
ones of them into each new program they write, they wrote them all into one
file, called it an "include", and then just have to write "include xyz.ew"
in any program in order to make any/all those routines available to that
program.

2.  I think the standard advice would be: read the docs, review the
examples, look at what others have done in the archives at RDS website,
write simple programs, ask questions here, write more programs, ask more
questions....

3.  Libraries are, I think, "super" include files, which add a *bunch* of
additional facilities to Euphoria.  Win32Lib, for example, makes programming
for Windows *much* easier than using "straight" Euphoria.  You use them just
like a regular include file, first by "including" them in your program, then
by using whichever commands (functions and procedures) implemented in them
you need.

Dan Moyer

>
> Hello all and thank you for your help.
>
> At last I have gotten everything under control. I have the editor working,
I
> am running programs, and I am finally writing my own code. Thank you
> everyone for your assistance!
>
> I have some questions about Euphoria that I am sure any of you can answer:
>
> (1) I am unfamiliar with the concept of include files. I see get.e in one
of
> the tutorial files that allows the use of prompt_number(). Could someone
> please tell me a little about what include files are and how they work?
Why
> are they necessary? What other include files are there in Euphoria?
>
> (2) How does one learn all of the various commands for Euphoria? The
> documents with the program only explain a little bit and other than
picking
> through the tutorials and demos (which is fun but I am already half way
> through them) how does one learn? How did you all learn?
>
> (3) What are libraries? They seem to be a common topic in the forum. Could
> someone please explain what they are and how they are used. They seem like
> something that you can create for yourself which sounds intriguing.
>
> That is all that I can think of for now. Thanks for all of your help and
> support. I am really starting to take a shine to Euphoria.
>
> David
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu