I would like to talk about some possible ideas/features i really love and would personally love to see being introduced^^
1) Named Value Tuples (some of the above post)
2) Multiple Subranges in ONE Subrange (some of the above post)
3) Subranges which could have a "step" in their definition, which would have the effect that you could define Subrangetypes whose values are just accessible addicted to their step-definition, like:
TSubRange = 0..100 step 2;
This would mean that a variable of that type can just access the values: 2,4,6,8, 10 etc...
4)A Next Custom-Datatype could be the same as an Enum/flag but just WITHOUT the names, for instance:
TCustom = 0,32,64,128,256,512,1024;
That type is able Just to store THESE Values not more not less, and is declared like any other variable.
Would really like to hear your opinions about that
PS: YES, i know it could be done by myself, but it would be really great to get it done via the sugarsyntax of Oxygene/Pascal and let the compiler do the work behind it, and in addition to that, you could then also say, remove Subranges because you could do it by your own.