Frank Heckenbach wrote:
<snip>
What I like about this is that it's (IMHO) more similar to Pascal syntax (assuming you mean `..' instead of `...').
Yes ( '..' instead of '...' ).
What I don't like is that another identifier is introduced within some other declarations. Enum types do the same, and this has caused some extra work in the compiler. Since it's possible to get the upper bound as `High (s)' or `High (a)' (BP compatible feature), I think it's not necessary to introduce a new identifier in the declaration.
The constant identifier could be optional:
var s: String ( const ) = 'Hi'; a: array [1 .. const ] of Integer = (42, 17, 99);
Regards,
Adriaan van Os