[fpc-pascal] Re: StrUtils.RomanToInt oddities
Bart
bartjunk64 at gmail.com
Tue Sep 24 09:04:59 CEST 2013
On 9/24/13, Marco van de Voort <marcov at stack.nl> wrote:
> Raise an exception
This will break existing implementations that either expect IM to be
999, or ABC to be 0 (indicating failure), and that certainly do not
expect that this function throws an exception at them.
> and have a try* version to avoid the exception, just
> like
> all other str*to<numeric> functions.
You beat me by a few minutes ....
Bart
More information about the fpc-pascal
mailing list