Smarter array constants.

Smarter array constants.

There's no good reason why the following should not compile:

const values: array of integer = (1, 2, 3, 4, 5);

(Note the lack of an explicit range.)
From some of the preview stuff, this may be included in XE7, but it's not really sure yet.  Can anyone confirm?

Comments

  1. Along with a few other dynamic array operations, like Insert and Delete RTL functions.

    ReplyDelete

Post a Comment