And one more thing...
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 Variants unit explicitely.
-B
Hi all,
I never playing around with variant using FPC before, until last night. :D
Currently I'm using FPC 2.0.0 (downloaded from SF) on Pentium III with WinXP SP
2.
I found a strange behavior of string in FPC variant array. Unfortunately, I
hardly can find good enough informations about varia
> We need a program, running under Linux and windows, that is able to send
> Emails. With Linux I can call sendmail. Is there an easy way for sending
> Emails from within freepascal under Windows, also?
You can call "blat", very much like calling sendmail.
Free version available at www.blat.net
Je
One could wonder whether return really exits or not. I guess exit is more
obvious.
ReturnAndExit is a bit verbose I suppose.
Another thing to do is go
result:=5; Exit;
on the same line
Lars
- Original Message -
From: "Paul Davidson" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussio
Perhaps combinations of RESULT and EXIT may help?
if TimeToLeave then begin
Result := 5;
Exit;
end else
On May 25, 2005, at 12:33, Jonas Maebe wrote:
On 25 mei 2005, at 18:20, Tony Pelton wrote:
over and above any philisophical judgments on my programming
technique, I see Fr
Jonas Maebe wrote:
Is some analogy to "return" not supported in the official pascal
dialect ?
exit with a parameter is not supported in other compilers afaik (e.g.
exit(5), equivalent to "return 5").
UCSD Pascal has
EXIT( procedurename)
EXIT( programname)
EXIT( PROGRAM)
Macintosh Pascal c
On 25 mei 2005, at 18:20, Tony Pelton wrote:
over and above any philisophical judgments on my programming
technique, I see Free Pascal has a reserved word 'exit' that mimics
"return" ?
Yes.
Is some analogy to "return" not supported in the official pascal
dialect ?
exit with a parameter is
hi all,
new pascal guy, but not a new programmer.
i'm used to being able to use the "return" reserved word in Java and
'C' to be able to short circuit the execution of a function/method.
over and above any philisophical judgments on my programming
technique, I see Free Pascal has a reserved word
> You can try Synapse (http://www.ararat.cz/synapse/>). I can't tell
> about the SMTP module, but if it does as well as the HTTP module here does
> on both Linux and Windows, it certainly rocks. ;-)
Sure!
And simple mails can be sended by one function call. ;-) However when you
wish to use MIME
On 25 mei 2005, at 17:30, Adriaan van Os wrote:
The Mac OS X version does not include Linux units by default, so you
have to compile and install the compiled Linux RTL. For this, and
also to generate programs afterwards, you need a Darwin-to-Linux
cross-assembler and cross-linker (the Darwin
Jonas Maebe wrote:
Artur Kornilowicz wrote:
I work on PPC with Darwin.
I am trying to build binaries for Linux.
Calling
fpc -Tlinux a.pas
The Mac OS X version does not include Linux units by default, so you
have to compile and install the compiled Linux RTL. For this, and also
to generate
On 25 mei 2005, at 16:54, Artur Kornilowicz wrote:
I work on PPC with Darwin.
I am trying to build binaries for Linux.
Calling
fpc -Tlinux a.pas
The Mac OS X version does not include Linux units by default, so you
have to compile and install the compiled Linux RTL. For this, and also
to ge
Hi,
I work on PPC with Darwin.
I am trying to build binaries for Linux.
Calling
fpc -Tlinux a.pas
I get:
Free Pascal Compiler version 2.0.0 [2005/05/13] for powerpc
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Linux for PowerPC
Compiling a.pas
Fatal: Can't find unit System
Error: Comp
On Wednesday 25 May 2005 14:07, Rudolf Harney wrote:
> We need a program, running under Linux and windows, that is able to
> send Emails. With Linux I can call sendmail. Is there an easy way for
> sending Emails from within freepascal under Windows, also?
You can try Synapse (http://www.ararat.cz
> We need a program, running under Linux and windows, that is able to send
> Emails. With Linux I can call sendmail. Is there an easy way for sending
> Emails from within freepascal under Windows, also?
I've used ICS/win32 from www.overbyte.be. It compiled directly using
FPC/win32 1.9.8, and theer
Hi,
We need a program, running under Linux and windows, that is able to send
Emails. With Linux I can call sendmail. Is there an easy way for sending
Emails from within freepascal under Windows, also?
Thank You,
Rudolf
___
fpc-pascal maillist - fpc
Thanks for the quick reply.
...I see, stupid me. :)
But when the position of "amtsbelegung : Tchange_bool;" is changed, no
AV occurs ..?
Reproducable?
Something about Memory Acces I think I got it.
Best regards
./chrom
Florian Klaempfl wrote:
>chromdildo wrote:
>
>Well, in your program :
On 25 mei 2005, at 12:06, chromdildo wrote:
msn : array [0..9] of Tchange_string;
port : array [0..9] of Tchange_string;
This array goes from 0 till 9
for ic:= 1 to 10 do begin
Eumex1.Memory.msn[ic].value := '';
Eumex1.Memory.msn[ic].changed := false
chromdildo wrote:
Well, in your program :) Compile with range checking ot see it.
> Hello everybody.
>
> I discovered a very strange bug/issue and I don't know how to describe
> it best as a bug-report.
> (or am I doing something wrong?)
> I try: a variable declared within a record, AccessViolat
Hello everybody.
I discovered a very strange bug/issue and I don't know how to describe
it best as a bug-report.
(or am I doing something wrong?)
I try: a variable declared within a record, AccessViolates when set
later in code,
if declared at the "wong" place..?..
(environment: linux/i686 - fpc
Date sent: Wed, 25 May 2005 11:40:12 +0200
From: Søren Ager <[EMAIL PROTECTED]>
To: FPC-Pascal users discussions
Subject:Re: [fpc-pascal] cdecl calling and const parameters -
was SizeOf(File)
<> SizeOf(FileRec)
Sen
Tomas Hajny wrote:
My suggestion would be:
I copied what the win32 socket does: connect calls fpconnect calls
so32dll.connect. That takes care of my problems and should make the os/2
socket unit 100% compatible with other fp units.
So how/who do I submit the source to?
Take care,
Sore
Date sent: Wed, 25 May 2005 09:29:00 +0200
From: Søren Ager <[EMAIL PROTECTED]>
To: FPC-Pascal users discussions
Subject:[fpc-pascal] cdecl calling and const parameters - was
SizeOf(File)
<> SizeOf(FileRec)
Send reply to
On 25 mei 2005, at 09:29, Søren Ager wrote:
I am programming in Pascal so I can't see what C has to do with it ;-)
I am only interested in changing the caling convention - not the
meaning of the const which should be the same as var - with the
exception that you are not allowed to change the
Tomas Hajny wrote:
I believe the C const construct (const declaration in a call marked
as cdecl) is wrongly used in so32dll.connect (the meaning of this
construct in C is different from the Pascal "const" modifier).
I am programming in Pascal so I can't see what C has to do with it ;-)
I am
| I guess this is a pascal list here and no ada advertisement list?
|
no, n'ada ada ada-vertisement list
(sorry, could n'ada resisted.)
I was looking into ada the other day on some wikis, though. Have to check
deeper into
its origins.
___
fpc-pascal
26 matches
Mail list logo