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 th
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
http://lists.freepascal.org/ma
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( SizeOf(Tm
Skybuck Flying ha scritto:
Doesn't make much sense to me at least.
Who still codes in 16 bit or turbo pascal ?
64 KB programs ?
Terrible limitations.
I am glad those days are dead/gone/over.
If you want Delphi mode, you just put
{$Mode Delphi}
at the beginning of your unit, among the other
Doesn't make much sense to me at least.
Who still codes in 16 bit or turbo pascal ?
64 KB programs ?
Terrible limitations.
I am glad those days are dead/gone/over.
Bye,
Skybuck.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lis
Hello,
This usenet posting discussess what I consider to be a major breakthrough
for me and Delphi coding in general.
It explains what I need and want to do and how I solved it.
So instead of typing the whole idea again I simply copy and paste what I
posted back then on this mailing list plu
Hello,
Delphi 2007 has another pretty handy new feature:
"Properties in records".
For example it's even possible to have index properties.
Some that I could write code using the record like:
myRecord.SomeField[SomeIndex] := 12345;
then the property methods can place the value 12345 anywhere
Skybuck Flying schreef:
Yeah, well, what exactly is the difference ?
The guide doesn't explain.
I assume free pascal does support the "class" keyword ?
The default compiler mode is {$mode fpc} which is more TP compatible.
Turbo Pascal did not support the class keyword either.
Vincent
>
> Delphi allows the following code to be compiled and run:
There has been a thread about this subject (records with procedures) not one
week ago, with as subject "Turbo Pascal and Object Pascal ways of OOP".
___
fpc-pascal maillist - fpc-pascal@lis
Interesting.
I posted the new example before I posted the message below.
No nobody will understand which example was the correct one.
A major drawback of using mailing lists ?
Is there anyway I can get some kind of threading going for these e-mails ?
Why not start a usenet server ?
These mai
Yeah, well, what exactly is the difference ?
The guide doesn't explain.
I assume free pascal does support the "class" keyword ?
Bye,
Skybuck.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc
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
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,
Delphi allows the following code to be compiled and run:
// *** Begin of Demo ***
program Project1;
{$APPTYPE CONSOLE}
uses
SysUtils,
Unit1 in 'Unit1.pas';
type
TmyRecord = record
A,B,C,D,E,F : integer;
end;
TmyObject = record
A,B,C,D,E,F : integer;
class procedure Test; stati
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) );
TmyObject.
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
Nope.
More complex units did not compile as well.
Example of slightly more complex unit:
// *** begin of code ***
unit lul;
interface
type
Tpenis = class
private
a : integer;
public
end;
implementation
end.
// *** end of code ***
Your reasoning doesn't make any sense anyway.
It's perf
Hello,
Borland pulled a fast one on me ;)
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 th
On Sat, 9 Feb 2008 22:04:33 +0200
ik <[EMAIL PROTECTED]> wrote:
> It's simple, you declared a prototype of a class, so you do not need
> to declare the entire structure of the class.
>
> type
> Tpenis = class;
>
> and that's it
No.
He probably forgot to enable Delphi mode.
See here
http://wik
Solved.
fpc lul.pas -Mdelphi
Works.
fpc lul.pas -Mdelphi
Free Pascal Compiler version 2.2.0 [2007/09/09] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lul.pas
15 lines compiled, 0.1 sec
Kinda strange, fpc does not support class ?
Wacky/weird.
Oh w
It's simple, you declared a prototype of a class, so you do not need
to declare the entire structure of the class.
type
Tpenis = class;
and that's it
Ido
On Feb 9, 2008 10:04 PM, Skybuck Flying <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The following simple and valid Delphi code does not compile wi
Hi,
The following simple and valid Delphi code does not compile with command:
fpc lul.pas
// *** Begin of Code ***
unit lul;
interface
type
Tpenis = class
private
public
end;
implementation
end.
// *** End of Code ***
// *** Begin of Output ***
fpc lul.pas
Free Pascal Compiler versio
On Sat, 9 Feb 2008 00:01:24 +0100
Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> Has anybody done something with FPC and bluetooth and especially
> the wiimote under linux and can give me some hints?
What about other platforms?
Are the bluetooth units in the FPC sources for windows for accessing
23 matches
Mail list logo