: Skybuck Flying [EMAIL PROTECTED]
To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org
Sent: Saturday, February 09, 2008 9:56 PM
Subject: Re: [fpc-pascal] Re: Procedures in records not supported :(
I must correct myself.
The code supplied did not compile in Delphi as well
On Feb 10, 2008 4:26 AM, Skybuck Flying [EMAIL PROTECTED] wrote:
Anyway to put the messages into message-threads ?
Use gmail
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Skybuck Flying wrote:
My most recent code uses the new feature procedures in records.
It seems fpc 2.2.0 does not support procedures in records.
I was hoping fpc 2.2.0 could replace Delphi 2007 compiler because
Delphi 2007 compiler is malfunctioning...
I really like this new feature and I
Not quite buster !
// *** Demo problem begin ***
type
TmyRecord = record
A,B,C,D,E,F : integer;
end;
TmyObject = object
A,B,C,D,E,F : integer;
procedure Test;
end;
procedure TmyObject.Test;
begin
A := 5;
end;
begin
writeln( SizeOf(TmyRecord) );
writeln( SizeOf(TmyObject) );
I must correct myself.
The code supplied did not compile in Delphi as well.
However a similiar design is possible in Delphi so I supplied a new example
in a new posting...
Anyway I will further explore what it takes to make the object work in fpc
;)
Bye,
Skybuck.
Hello,
This fpc example seems to do more or less the same as the Delphi static
class/record procedure example.
Only extra requirement is to declare a object instance variable and use that
to call the test routine.
Less ideal.
type
TmyRecord = record
A,B,C,D,E,F : integer;
end;
TmyObject
?
These mails make it very hard to follow a discussion ?!??
Bye,
Skybuck.
- Original Message -
From: Skybuck Flying [EMAIL PROTECTED]
To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org
Sent: Saturday, February 09, 2008 9:56 PM
Subject: Re: [fpc-pascal] Re: Procedures in records
Skybuck Flying wrote:
Not quite buster !
// *** Demo problem begin ***
type
TmyRecord = record
A,B,C,D,E,F : integer;
end;
TmyObject = object
A,B,C,D,E,F : integer;
procedure Test;
end;
procedure TmyObject.Test;
begin
A := 5;
end;
begin
writeln( SizeOf(TmyRecord) );
writeln(
Outlook express in combination with hotmail.
I see one big long list of messages all mixed etc.
Anyway to put the messages into message-threads ?
Bye,
Skybuck.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Skybuck Flying wrote:
Outlook express in combination with hotmail.
I see one big long list of messages all mixed etc.
Anyway to put the messages into message-threads ?
Bye,
Skybuck.
Sorry, in that environment, no idea. In Thunderbird it is a sorting
option. Perhaps look in that area. I
10 matches
Mail list logo