1. Spelling error in error message
- Posted by Carlos Jose Gonzalia <gonzalia at CRIBA.EDU.AR>
Mar 26, 1997
-
Last edited Mar 27, 1997
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
2. Re: Spelling error in error message
- Posted by ArchiteK <architek at GEOCITIES.COM>
Mar 26, 1997
-
Last edited Mar 27, 1997
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
3. Spelling error in error message
- Posted by Robert Craig <robert_craig at COMPUSERVE.COM>
Mar 26, 1997
-
Last edited Mar 27, 1997
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