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.
Ok, it's not a big deal to change the upper border (and if I forget it I am
reminded ;-)),
but it would make life easier a bit if it could be automatic and it looks like an
intuitive enhancement in the spirit of pascal.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal