On 9/23/13, Alberto Narduzzi <albertonardu...@yahoo.com> wrote: > But IsValidRoman is as good as a solution too, indeed...
Trying to determine if it is valid is 90% of calculating the output. Hence my previous approach of TryRomanToInt. It returns FALSE if the string isn't a legal Roman numeral. And it is compliant with our other conversion routines like TryStrToInt etc. Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal