Re: likely value() error!

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

At 01:55 PM 12-03-1999 , you wrote:
>Looking at get.e, it seems that commas are legal delimiters for Euphoria
objects represented in a string (to simplify the code, I imagine). The
'value' function is interpreting everything up to the ',' which means all
it sees is "1". Replacing the string with "123,456" yields a value of 123.
>
>This is an interesting fluke, I'm surprised it hasn't been noticed yet
(perhaps it's just not considered a fluke...) Does anyone know if this has
been addressed in 2.1? (I'm only using the 2.1 interpreter, I haven't
copied the 2.1 include files into my working directory yet.)

Quite nasty bug!

I wonder why it ain't catched as GET_FAIL?

If s="{1,234}" it does correctly identify the 2 elemet sequence.


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