Re: value() misleading?

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

Rolf wrote:

>-- Some time ago I asked if in certain cases value() returns
>-- misleading results. Run the following program <snip>

I have always felt uncomfortable with this one too. But when I moaned
about it, two or three years ago, Rob's answer was, more or less,
that's the way he meant it to be!

(A bit of irony: last time I tried to come up with something better I
finished helping Rob make the existing beast go much faster...)

In fact I would prefer a slightly different scheme, a function that
would attempt to evaluate the whole string, and return either a
sequence of converted values (objects), or just an integer,
effectively the string index at which the conversion failed.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu