Hi everyone,
I was wondering... is there an intrinsic in Free Pascal that swaps the
pointers stored in two object or pointer variables? That is... something
like "procedure SwapAddresses(var Obj1: TObject; var Obj2: TObject);" so
after it is called, Obj2 now points to Obj1 and vice versa?
Ryan Joseph via fpc-devel schrieb am Di.,
10. Dez. 2019, 22:29:
>
>
> > On Dec 10, 2019, at 11:38 AM, Sven Barth via fpc-devel <
> fpc-devel@lists.freepascal.org> wrote:
> >
> > First of Object Pascal supports "array of const" which is safer due to a
> added type field for each entry.
> >
>
>
> On Dec 10, 2019, at 11:38 AM, Sven Barth via fpc-devel
> wrote:
>
> First of Object Pascal supports "array of const" which is safer due to a
> added type field for each entry.
>
From the users standpoint only real difference is the [] syntax and if the
array of const is the last (or
Op 2019-12-08 om 22:08 schreef Ryan Joseph via fpc-devel:
On Dec 8, 2019, at 2:30 PM, Sven Barth via fpc-devel
wrote:
And no, your patch WILL NOT allow that. We've consciously decided AGAINST
implementing varargs functions in Pascal (see
Ryan Joseph via fpc-devel schrieb am So.,
8. Dez. 2019, 23:26:
>
>
> > On Dec 8, 2019, at 2:30 PM, Sven Barth via fpc-devel <
> fpc-devel@lists.freepascal.org> wrote:
> >
> > And no, your patch WILL NOT allow that. We've consciously decided
> AGAINST implementing varargs functions in Pascal (see