> exit with a parameter is not supported in other compilers afaik (e.g.
> exit(5), equivalent to "return 5"). It may exist in Delphi
Not in D6-D7 to my knowledge. D2005 unknown.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.f
On 26 mei 2005, at 05:44, Bisma Jayadi wrote:
The code is compiled using FPC with faster code optimization, generate
exe file
with size 435 KB. While it is compiled using Delphi with optimization,
generate
exe file with size (only) 83 KB. Why FPC generate that so big exe
file? I only
use Var
> On 26 mei 2005, at 05:44, Bisma Jayadi wrote:
>
> > The code is compiled using FPC with faster code optimization, generate
> > exe file
> > with size 435 KB. While it is compiled using Delphi with optimization,
> > generate
> > exe file with size (only) 83 KB. Why FPC generate that so big exe
For quite some time I have been using FreePascal for occasional programming
(windows programs); it works fine, so I don't post so many stupid questions
to this list any more.
But now I have downloaded the new version 2, driven by the enthusiasm in
the announcement, and trying to compile some o
On Thursday 26 May 2005 12:06, Hans Maartensson wrote:
> In a program I had a recursive definition like:
>
> type sometype = record
>n: longint;
>p: ^sometype
>end;
This was never allowed in Pascal, AFAIK. The standard solution is to
define the pointer type first:
|type
| ptr_some
At 14:50 26-05-2005, you wrote:
> .
> type sometype = record
>n: longint;
>p: ^sometype
>end;
This was never allowed in Pascal, AFAIK.
FPC version 1.0.12 compiled it OK
The standard solution is to
define the pointer type first:
|type
| ptr_sometype = ^sometype;
|type
| s