On lauantai, 2. tammikuuta 2010 17:34:57 JoshyFun wrote:
> From my point of view that's a dynamic array, if it looks like a
> dynamic array ir should be a dynamic array.

It can't be dynamic because it is under "const" section :-)

> Other pascals uses something like:
> a: array[1..] or string = ('aaa', 'bbb', 'ccc');
> or
> a: array[..] or string = ('aaa', 'bbb', 'ccc');

I have used only TP and Delphi and now some FPC. I didn't know of that syntax 
but it looks perfect. The main point is that the programmer doesn't need to 
calculate elements and set bounds.
IMO it should be implemented in FPC.


Regards,
Juha Manninen
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to