[fpc-pascal] Re: StrUtils.RomanToInt oddities
Frederic Da Vitoria
davitofrg at gmail.com
Mon Sep 23 22:21:59 CEST 2013
2013/9/23 Bart <bartjunk64 at gmail.com>
> The question was: is current behaviour (accepting IIMIIC etc.) a bug or
> not.
>
What about making an option of it?
Anyhow, if the function accepts invalid combinations, what should it
return? For some, the answer would be obvious (IIII), but some combinations
are indeed ambiguous (IIIIM) So that we maybe could accept unambiguous
invalid combinations, but I don't see how to accept ambiguous ones.
--
Frederic Da Vitoria
(davitof)
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130923/c4be5d25/attachment.html>
More information about the fpc-pascal
mailing list