- Original Message -
From: "Florian Klaempfl"
To: "FPC developers' list"
Sent: Friday, 29 April, 2011 15:57 PM
Subject: Re: [fpc-devel] type pointer to record before record.
Am 29.04.2011 15:51, schrieb Flávio Etrusco:
type
TMyRecord = record
m
- Original Message -
From: "Marco van de Voort"
To: "FPC developers' list"
Sent: Friday, 29 April, 2011 10:35 AM
Subject: Re: [fpc-devel] type pointer to record before record.
In our previous episode, Skybuck Flying said:
I would first like to remark
On Sat, Apr 30, 2011 at 00:57, Florian Klaempfl wrote:
> Am 29.04.2011 15:51, schrieb Flávio Etrusco:
>>>
>>> type
>>> TMyRecord = record
>>> mPrev : ^TMyRecord; // not allowed.
>>> end;
>>
>> Marco, only if you happen to know from the top of your head, would it
>> be possible and without c
Am 29.04.2011 15:51, schrieb Flávio Etrusco:
type
TMyRecord = record
mPrev : ^TMyRecord; // not allowed.
end;
Marco, only if you happen to know from the top of your head, would it
be possible and without consequences to allow this kind of
construction? (i.e. a pointer reference to its
> type
> TMyRecord = record
> mPrev : ^TMyRecord; // not allowed.
> end;
Marco, only if you happen to know from the top of your head, would it
be possible and without consequences to allow this kind of
construction? (i.e. a pointer reference to itself)
Best regards,
Flávio
In our previous episode, Skybuck Flying said:
> I would first like to remark about this: "This is very newb unfriendly...
> newbs might not know this... and will get frustrated by this
> weird/odd/non-intuitive language construction".
It's in all manuals and books that describe pascal pointers t
Hello,
In free pascal/pascal/delphi it's necessary to declare a pointer to a
record, which is to be used inside the record to point to itself, before the
record itself without a type directive in between them for example:
// correct:
type
PMyRecord = ^TMyRecord;
TMyRecord = record