TRomanConversionStrictness enumeration
How to treat invalid roman numerals in
TryRomanToInt.
Declaration
TRomanConversionStrictness = (rcsStrict,rcsRelaxed,rcsDontCare)Description
TRomanConversionStrictness is an enumerated type that can be used
to decide how to react to invalid roman numerals.
- rcsStrict
- Strict adherence to roman numerals. Up to 3 consecutive identical letters. No negative numbers. Ordering must be correct.
- rcsRelaxed
- Same as
rcsStrictbut allow more than 3 consecutive identical letters. - rcsDontCare
- Do not check validity at all
See also
Values
rcsStrict | Only accept correct roman numerals. |
rcsRelaxed | Like rcsStrict but allow more than 3 consecutive identical letters. |
rcsDontCare | Do not check correctness. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
