explicit indices in array literals

This commit is contained in:
Araq 2011-01-16 16:22:23 +01:00
commit 0f743e0183
8 changed files with 60 additions and 3 deletions

View file

@ -47,6 +47,8 @@ Additions
- 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.
- Indices in array literals may be explicitly given, enhancing readability:
``[enumValueA: "a", enumValueB: "b"]``.