[fpc-devel]About dynamic arrays in 1.1 branch

Jonas Maebe jonas at zeus.rug.ac.be
Fri Sep 7 15:12:30 CEST 2001


On vrijdag, september 7, 2001, at 02:56 , Florian Klaempfl wrote:

>> That is shown, that setlength procedure applied to dynamic arrays can 
>> have in Delphi different amount of parameters
>> (depend on count of dimensions in array which is defined in array 
>> description (e.g., "array of array of ...).
>> FPC 1.1 (built from 5.09 sources) cannot support these constructions, 
>> only 1D dynamic arrays are supported. If this
>> improvement is planned then all is OK.  But please don't forget this 
>> Delphi feature! May be, I could also help to
>> introduce it (but I'm not sure that I will have free time now).
>
> I quite sure I implemented it, when implementing dynamic arrays. Maybe 
> it has been destroyed when
> rewriting the internal proc handling?!

No, the setlength stuff hasn't been converted to it yet and the code is 
still there in first and second pass afaik. Maybe the parser only allows 
one parameter or so?


Jonas




More information about the fpc-devel mailing list