1. Spelling error in error message

Mr. Craig,

Thanks for your posting the error messages list. While I was reading it,
I noticed one of the messages had a typo consisting of "sequnce" instead of
"sequence", and I decided to see if it was a typo in your e-mail or if the
error
was also in the interpreter. I used this test program (test.ex):

        sequence x
        x = {1,2,3}
        ? x[{2}]

And I get this error message (and corresponding file ex.err):

        test.ex:3
        subscript must be an atom
        (reading an element of a sequnce)

        Global & Local Variables

         test.ex:
            x = {1,2,3}

So as you see the typo "sequnce" is also present in the interpreter. Sure, not
big deal, but I wanted you to know it anyways. Best regards...

Carlos Gonzalia, Universidad Nacional del Sur, Argentina, South America
gonzalia at criba.edu.ar

new topic     » topic index » view message » categorize

2. Re: Spelling error in error message

Carlos Jose Gonzalia wrote:

> was also in the interpreter. I used this test program (test.ex):
>
>         sequence x
>         x = {1,2,3}
>         ? x[{2}]
>
> And I get this error message (and corresponding file ex.err):
>
>         test.ex:3
>         subscript must be an atom
>         (reading an element of a sequnce)
>
>         Global & Local Variables
>
>          test.ex:
>             x = {1,2,3}

        Carlos, your mistake is that your're referencing a sequence
index (that is item number 2, or second item, of sequence X) with
another sequence(the value {2} is a sequence of one item.
Your code should be:
        ? x[2]
                Do you see the diference? Now your saying:
                Please mr. interpreter would you be so kind of
                printing the second element of sequence "x".

        I hope this helps you.
        By your name I assume you speak Spanish, so:
        Mira si tienes mas dudas respecto a Euphoria escribe y con
gusto te contesto en nuestro idioma materno ;) Por lo demas si vas
a mi homepage (el link esta al final de este mensaje) puedes encontar
el manual de referencia de Euphoria en castellano (yo mismo lo traduje).

        Bye, adios!
--
     email: architek at geocities.com
  homepage: http://www.geocities.com/SiliconValley/Heights/9316

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

3. Spelling error in error message

Carlos Jose Gonzalia writes:
> So as you see the typo "sequnce" is also present in the interpreter. Sure, not
> big deal, but I wanted you to know it anyways. Best regards...

Thanks.
I've corrected it for the next release.

Regards,
  Rob Craig
  Rapid Deployment Software

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

Search



Quick Links

User menu

Not signed in.

Misc Menu