1. bug found
Hi, I've just joined the list yesterday, though I am familiar with
Euphoria since version 1.5. I just thought I should be a more active
participant to the Euphoria community.
I found a problem with exponentiation notation: Apart from numbers 0-9
and the '+' and '-' symbols, any character between the 'E' and the
exponent is ignored by the interpreter. For example, 10Ex5, where x can
be any char that is not numeric or a +/- symbol. Test it in different
ways yourself.
If this really is a bug, I'm sorry I didn't report it before the
official release of Euphoria 2.1.
Lionel Wong
Get Your Private, Free Email at http://www.hotmail.com
2. Re: bug found
Lionel Wong writes:
> Apart from numbers 0-9 and the '+' and '-' symbols, any character
> between the 'E' and the exponent is ignored by the interpreter.
> For example, 10Ex5, where x can be any char that is not numeric
> or a +/- symbol.
Thanks for reporting this. Yes, a single bogus character
typed after E, instead of + or - will be quietly ignored.
(Multiple bogus characters will give an error.)
This is not new in v2.1. v2.0 works the same way.
The parser should give you a syntax error in this case.
I'll fix it for the next release.
Thanks,
Rob Craig
Rapid Deployment Software
http://members.aol.com/FilesEu/