Re: Hi

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

At 02:33 p.m. 16-01-99 -0500, you wrote:
>Hi, my name is Ken Furlong, I just downloaded Euphoria and signed up for
>the mailing list.  I thought I'd take a minute to intoduce myself.  I'm
>just an ameture programer who aspires to be a pro someday.  I've had a
>little experience in QBasic and Borland C++.

Welcome Ken! If you're patient you'll be facinated with Euphoria. Please
try to clean the knowledge you've got from Qbasic. As a former Atari
basic programer (when I was a kid) I do have a nostalgic feeling about
it, but as a programming language it sucks.

I must warn you that just yesterday a new alpha version (2.1) of Euphoria
was released, you'll see lot's of very specific & technical post during the
following days regarding bugs (I hope not), further enhancements and the
like. Don't be intimidated with such messages, this mailing list *is* the
right place to post all your questions about Euphoria, no matter how stupid
you may thing they are.

>I had a question, in QBasic and C++, you can name blocks of code so that
>you can go to them from, say, an if-then statment instead of writing the
>whole thing out under the if-then.  I think in QBasic you use Gosub.  I
>was wondering if there was an Euphoria version of the Gosub command.

As a matter of programming philosophy Euphoria doesn't have a block
labeling mechanism, you must structure your algorithm to avoid this
situations. Feel free to post any code snippet you're having troubles to
structure.

Always remembers that an algorithm that requires this "special" exit states is
usually not the best algorithm. Certainly there will be ocassions where such a
labeling mechanism can simplify things, but at the cost of redability and
conceptual un-clarity.




Regards,
        Daniel   Berstein
        daber at pair.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu