Feature: explicit string representation for enum fields

This commit is contained in:
Araq 2011-01-11 01:09:48 +01:00
commit 1a8c6fb49f
9 changed files with 94 additions and 8 deletions

View file

@ -23,6 +23,13 @@ Bugfixes
anymore.
Changes affecting backwards compatibility
-----------------------------------------
- Operators starting with ``^`` are now right-associative and have the highest
priority.
Additions
---------
@ -37,6 +44,10 @@ Additions
- Added ``emit`` pragma for direct code generator control.
- Additional operations were added to the ``complex`` module.
- Added ``strutils.formatFloat``, ``strutils.formatBiggestFloat``.
- A field in an ``enum`` may be given an explicit string representation.
This yields more maintainable code than using a constant
``array[TMyEnum, string]`` mapping.
2010-10-20 Version 0.8.10 released