Re: [fpc-devel] Array assignment operator

2018-11-05 Thread Sven Barth via fpc-devel
Am Mo., 5. Nov. 2018, 01:00 hat Gennady Agranov geschrieben: > On 11/4/2018 5:24 PM, Sven Barth via fpc-devel wrote: > > Am So., 4. Nov. 2018, 20:36 hat Gennady Agranov > geschrieben: > >> On 11/4/2018 11:24 AM, Sven Barth via fpc-devel wrote: >> >> Am So., 4. Nov. 2018, 12:23 hat Schindler Karl

Re: [fpc-devel] Array assignment operator

2018-11-04 Thread Gennady Agranov
On 11/4/2018 5:24 PM, Sven Barth via fpc-devel wrote: Am So., 4. Nov. 2018, 20:36 hat Gennady Agranov mailto:gennadyagra...@gmail.com>> geschrieben: On 11/4/2018 11:24 AM, Sven Barth via fpc-devel wrote: Am So., 4. Nov. 2018, 12:23 hat Schindler Karl-Michael mailto:karl-michael.sch

Re: [fpc-devel] Array assignment operator

2018-11-04 Thread Sven Barth via fpc-devel
Am So., 4. Nov. 2018, 20:36 hat Gennady Agranov geschrieben: > On 11/4/2018 11:24 AM, Sven Barth via fpc-devel wrote: > > Am So., 4. Nov. 2018, 12:23 hat Schindler Karl-Michael < > karl-michael.schind...@web.de> geschrieben: > >> >> >> > Am 04.11.2018 um 12:00 schrieb Ben Grasset : >> > >> > From

Re: [fpc-devel] Array assignment operator

2018-11-04 Thread Gennady Agranov
On 11/4/2018 11:24 AM, Sven Barth via fpc-devel wrote: Am So., 4. Nov. 2018, 12:23 hat Schindler Karl-Michael mailto:karl-michael.schind...@web.de>> geschrieben: > Am 04.11.2018 um 12:00 schrieb Ben Grasset mailto:operato...@gmail.com>>: > > From: Ben Grasset mailto:operato...@gm

Re: [fpc-devel] Array assignment operator

2018-11-04 Thread Sven Barth via fpc-devel
Am So., 4. Nov. 2018, 12:23 hat Schindler Karl-Michael < karl-michael.schind...@web.de> geschrieben: > > > > Am 04.11.2018 um 12:00 schrieb Ben Grasset : > > > > From: Ben Grasset > > To: FPC-Devel users discussions > > Subject: Re: Array assignment operator > > Message-ID: < > cal4d7fjpfx-yst6z

Re: [fpc-devel] Array assignment operator

2018-11-04 Thread Schindler Karl-Michael
> Am 04.11.2018 um 12:00 schrieb Ben Grasset : > > From: Ben Grasset > To: FPC-Devel users discussions > Subject: Re: Array assignment operator > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > On Sat, Nov 3, 2018 at 4:44 PM Gennady Agranov > wrote: > >> Hi, >> >> Leaving a

Re: [fpc-devel] Array assignment operator

2018-11-03 Thread Ben Grasset
On Sat, Nov 3, 2018 at 4:44 PM Gennady Agranov 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:

Re: [fpc-devel] Array assignment operator

2018-11-03 Thread Gennady Agranov
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; Thanks, Gennady On 11/3/2018 4:14 PM, Ben Gra

Re: [fpc-devel] Array assignment operator

2018-11-03 Thread Ben Grasset
On Sat, Nov 3, 2018 at 8:01 AM Schindler Karl-Michael < karl-michael.schind...@web.de> wrote: > Hi > > I would like to use a simple assignment operator for arrays, with which > all elements of an array are assigned to the same value, similar to an > extended initialize, not to zero but to a value

[fpc-devel] Array assignment operator

2018-11-03 Thread Schindler Karl-Michael
Hi I would like to use a simple assignment operator for arrays, with which all elements of an array are assigned to the same value, similar to an extended initialize, not to zero but to a value of choice. A simple example for an integer array would be: myArray := 5; With arrays with defined