Re: [fpc-pascal] Generic routines for both dynamic array and other collections

2021-02-20 Thread Виктор Матузенко via fpc-pascal
And how do I write generic helper for all possible dynamic arrays? вс, 21 февр. 2021 г. в 00:57, Ryan Joseph via fpc-pascal < fpc-pascal@lists.freepascal.org>: > > > > On Feb 20, 2021, at 5:19 AM, Виктор Матузенко via fpc-pascal < > fpc-pascal@lists.freepascal.org> wrote: > > > > The helper

Re: [fpc-pascal] Generic routines for both dynamic array and other collections

2021-02-20 Thread Ryan Joseph via fpc-pascal
> On Feb 20, 2021, at 5:19 AM, Виктор Матузенко via fpc-pascal > wrote: > > Hi, > > I am trying to write some generic routines for working with containers. For > example, GetLength function: > > > > unit u; > > {$MODE FPC} > {$MODESWITCH DEFAULTPARAMETERS} > {$MODESWITCH OUT} >

Re: [fpc-pascal] Questions from Semi-Beginner

2021-02-20 Thread Sven Barth via fpc-pascal
Am 20.02.2021 um 17:26 schrieb Tomas Hajny via fpc-pascal: On 2021-02-20 17:15, Tomas Hajny wrote: On 2021-02-20 13:49, Sven Barth via fpc-pascal wrote: CSlemaker via fpc-pascal schrieb am Sa., 20. Feb. 2021, 09:48: Hello everybody, Please, note that the original poster (in Cc: now, so

Re: [fpc-pascal] Questions from Semi-Beginner

2021-02-20 Thread Tomas Hajny via fpc-pascal
On 2021-02-20 17:15, Tomas Hajny wrote: On 2021-02-20 13:49, Sven Barth via fpc-pascal wrote: CSlemaker via fpc-pascal schrieb am Sa., 20. Feb. 2021, 09:48: Hello everybody, Please, note that the original poster (in Cc: now, so that he doesn't miss the response from Sven below) isn't

Re: [fpc-pascal] Questions from Semi-Beginner

2021-02-20 Thread Tomas Hajny via fpc-pascal
On 2021-02-20 13:49, Sven Barth via fpc-pascal wrote: CSlemaker via fpc-pascal schrieb am Sa., 20. Feb. 2021, 09:48: Hello everybody, Please, note that the original poster (in Cc: now, so that he doesn't miss the response from Sven below) isn't subscribed to fpc-pascal, make sure to

Re: [fpc-pascal] Questions from Semi-Beginner

2021-02-20 Thread Sven Barth via fpc-pascal
CSlemaker via fpc-pascal schrieb am Sa., 20. Feb. 2021, 09:48: > Will I need to recompile my Pascal source files for object compatibility > with Win 10? > Should I install the latest version of Free Pascal, and if so, which > version is that? > Will I have any compatibility problems with my

[fpc-pascal] Generic routines for both dynamic array and other collections

2021-02-20 Thread Виктор Матузенко via fpc-pascal
Hi, I am trying to write some generic routines for working with containers. For example, GetLength function: unit u; {$MODE FPC} {$MODESWITCH DEFAULTPARAMETERS} {$MODESWITCH OUT} {$MODESWITCH RESULT} interface generic function GetLength(const V: TContainter): SizeUInt; implementation

Re: [fpc-pascal] Questions from Semi-Beginner

2021-02-20 Thread Christo Crause via fpc-pascal
On Sat, Feb 20, 2021 at 10:48 AM CSlemaker via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Title: OS Upgrade Windows 7 to Windows 10 – Free Pascal Consequences ? > > I am currently running under Windows 7 but I MUST upgrade to Windows 10 > Pro. > > Will I need to recompile my Pascal

[fpc-pascal] Questions from Semi-Beginner

2021-02-20 Thread CSlemaker via fpc-pascal
Title: OS Upgrade Windows 7 to Windows 10 – Free Pascal Consequences ? I am currently running under Windows 7 but I MUST upgrade to Windows 10 Pro. My questions relate to the version of the Pascal compiler I've been using for years and compatibility of the numerous object-code files produced by