> Am 04.11.2018 um 12:00 schrieb Ben Grasset <operato...@gmail.com>:
> 
> From: Ben Grasset <operato...@gmail.com>
> To: FPC-Devel users discussions <fpc-devel@lists.freepascal.org>
> Subject: Re: Array assignment operator
> Message-ID: 
> <cal4d7fjpfx-yst6z3--fhpr9pts-n47ksfn6m2phd7sunzw...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> On Sat, Nov 3, 2018 at 4:44 PM Gennady Agranov <gennadyagra...@gmail.com>
> wrote:
> 
>> Hi,
>> 
>> Leaving aside the reason why the MiSchi's solution doesn't work the main
>> question is still not answered :)
>> 
>> If you have integer dynamic array "MyArray" is there a way for the
>> following statement to compile and work correctly:
>> 
>> MyArray := 5;
>> 
> 
> Uh, yes? That's what my example showed.

In your example the length of the array was set to the number and the elements 
of the array assigned to their index, whereas my intention is to keep the 
length of the array and fill all elements to the same number.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to