Peter Vreman wrote:
Skybuck Flying wrote:
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.
It was discussed already a couple of years ago to make objfpc the
default compile m
> Doesn't make much sense to me at least.
>
> Who still codes in 16 bit or turbo pascal ?
A few.
> 64 KB programs ?
> Terrible limitations.
Agreed, but the FPC mode doesn't have these limitations. It is a TP dialect
compability, but otherwise a full 32/64 bit mode. The compiler itself is
writ
Skybuck Flying wrote:
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.
It was discussed already a couple of years ago to make objfpc the
default compile mode. But it breaks to
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
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
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
It's perfectly fine to declare a empty class like in my example.
Bye,
Skybuck.
- Original Message -
From: "ik" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
Sent: Saturday, February 09, 2008 9:04 PM
Subject: Re: [fpc-pascal] lul.pas does not compil
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
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
11 matches
Mail list logo