Jürgen Hestermann schreef:
Juha Manninen schrieb:
const
a: array of string = ('aaa', 'bbb', 'ccc');
It looks like a dynamic array, but obviously is not dynamic because it
is constant. :-)
The indexing would start from 0 like with dynamic arrays.
It would not break the existing syntax and would be very intuitive.
I would appreciate such a change. I often have static lists in my programs,
which need to be changed from time to time.
I suggest you add an entry on
http://wiki.lazarus.freepascal.org/Bounties#Multi-platform_bounties, so
we know how much you would appreciate it.
Vincent
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal