Le Sep 2, 2008 à 12:12 PM, Paul a écrit :
The uninstall steps on the wiki at
http://wiki.freepascal.org/OS_X_Programming_Tips#Uninstalling_Lazarus_and_Free_Pascal
rm -fv $bin/ppcppc shows permission denied
Didn't test all subsequent items
sudo rm -f /usr/local/bin/ppcppc
--
Damien
] Installing on Mac OS X
On 31 Aug 2008, at 18:52, Paul wrote:
Now I get Free Pascal compiler not found when Lazarus starts
although it exists.
Check the Compiler path in Environment-Environment Options. It
should read something like /usr/local/bin/ppc386
--
Damien Gerard
[EMAIL
(it is the latest
stable version).
The last time I checked there were still issues with generics however
it is not something absolutely needed
--
Damien Gerard
[EMAIL PROTECTED]
Si ces robots s'humanisaient, inversement les êtres humains se
robotiseraient-ils
:
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/QuartzDisplayServicesConceptual/Articles/MouseCursor.html#/
/apple_ref/doc/uid/TP40004269
--
Damien Gerard
[EMAIL PROTECTED]
Si ces robots s'humanisaient, inversement les êtres humains se
robotiseraient-ils
Le Aug 29, 2008 à 10:55 PM, Damien Gerard a écrit :
Le Aug 28, 2008 à 10:55 PM, Paul a écrit :
However, as a bank, they only trust on themselves. And they like
to reinvent a broken wheel :)
exactly :-)
they also like many custom features ..
Just in case you really really want
this connection. Of course, no one can stop you from reimplementing
everything, but it's probably going to be quite a bit of work (as
such low level things are quite platform specific).
Indeed
--
Damien Gerard
[EMAIL PROTECTED]
Si ces robots s'humanisaient, inversement les êtres humains se
level (banks) and we even need to
write special servers for them.
Believe me: they won't take VNC for an answer.
I don't see the problem if you use a good and strong VPN. If was the
case in my last job and we worked for a bank.
Paul
--
Damien Gerard
[EMAIL PROTECTED]
Si ces robots
haven't
seen that being mentioned).
However, as a bank, they only trust on themselves. And they like to
reinvent a broken wheel :)
--
Damien Gerard
[EMAIL PROTECTED]
Si ces robots s'humanisaient, inversement les êtres humains se
robotiseraient-ils
-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--
Damien Gerard
[EMAIL PROTECTED]
Si ces robots s'humanisaient, inversement les êtres humains se
robotiseraient-ils ?
___
fpc-pascal
Le Aug 27, 2008 à 1:06 PM, Paul a écrit :
Are there any socket library's available for Mac OSX with FPC?
I need Https communication
TIA
lNet works very well on OS X, and I prefer it instead of Synapse (http://lnet.wordpress.com/blog/
)
--
Damien Gerard
[EMAIL PROTECTED]
Si ces
to be able to answer it.
When I mentioned FreePascal, I've got no reply's at all anymore.
Talking about closed communities
Does anyone knows where to get this information ?
TIA,
Paul
--
Damien Gerard
[EMAIL PROTECTED]
Si ces robots s'humanisaient, inversement les êtres humains se
compute() {...}
};
would be
class Foo
private
FTag: Integer;
public
constructor Create;
procedure compute;
property tag: Integer read FTag write FTag;
end;
the property is not really needed of course.
--
Damien Gerard
[EMAIL PROTECTED]
Si ces robots s'humanisaient, inversement les
Le Jun 5, 2008 à 8:11 AM, Karl-Michael Schindler a écrit :
Hallo
Am 4. Jun 2008 um 09:56 schrieb Damien Gerard:
Le Jun 4, 2008 à 8:51 AM, Karl-Michael Schindler a écrit :
I only noticed now the discussion on the mailing list about fpc
2.2.1 and lazarus on Mac OS X. As the maintainer
Le Jun 5, 2008 à 2:09 PM, Jonas Maebe a écrit :
On 05 Jun 2008, at 09:50, Damien Gerard wrote:
Le Jun 5, 2008 à 8:11 AM, Karl-Michael Schindler a écrit :
Hallo
Am 4. Jun 2008 um 09:56 schrieb Damien Gerard:
Please not Fink. Put only Lazarus.app as it already exists
(Carbon widgetset
.
But I think it could be install in the same directory of Lazarus like
it is done under Windows.
By the way, I don't know if it is a good idea, but the install dir may
be /Developper/Applications/Lazarus instead of /Applications, like
XCode and others dev tools.
--
Damien Gerard
[EMAIL
0.9.26 is ready or is it absolutely necessary
to include the fixes since 0.9.24?
Best wishes - Michael.
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___
fpc-pascal maillist - fpc-pascal
Le Jun 2, 2008 à 11:48 AM, Damien Gerard a écrit :
Le Jun 2, 2008 à 11:29 AM, Florian Klaempfl a écrit :
Damien Gerard schrieb:
Hi !
Is there somewhere hash tables with different kind of keys and if
possible different kind of values ?
Like in C++ actually with a std::map.
May
Hi !
Is there somewhere hash tables with different kind of keys and if
possible different kind of values ?
Like in C++ actually with a std::map.
May be it would be possible with fpc 2.2.2 and generics ?
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas
Le Jun 2, 2008 à 11:29 AM, Florian Klaempfl a écrit :
Damien Gerard schrieb:
Hi !
Is there somewhere hash tables with different kind of keys and if
possible different kind of values ?
Like in C++ actually with a std::map.
May be it would be possible with fpc 2.2.2 and generics
the VAT value). Of course this is a
simplified example, on my situation there are many
functions and I want one function to have configurable
formula content.
Thank you very much.
Best regards,
Mihai
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
Le May 28, 2008 à 12:30 PM, Henry Vermaak a écrit :
2008/5/28 Damien Gerard [EMAIL PROTECTED]:
Le May 28, 2008 à 12:08 PM, Michael Van Canneyt a écrit :
Remobjects PascalScript works with FPC.
(it used to be innerfuse pascal)
Just for my information does it work under Linux *and* OS X
this is a
simplified example, on my situation there are many
functions and I want one function to have configurable
formula content.
Remobjects PascalScript works with FPC.
(it used to be innerfuse pascal)
Just for my information does it work under Linux *and* OS X ?
--
Damien Gerard
[EMAIL
Le May 15, 2008 à 11:55 PM, mm a écrit :
Damien Gerard a écrit :
Le May 15, 2008 à 8:46 PM, Luca Olivetti a écrit :
I don't know about gdb, but I know that you have to be extremely
careful
with exceptions in a thread, since any uncaught exception will
silently
terminate
Le May 15, 2008 à 8:46 PM, Luca Olivetti a écrit :
El Thu, 15 May 2008 10:45:43 +0200
Damien Gerard [EMAIL PROTECTED] escribió:
I have a program in lazarus with a thread .
When there is a SegF in this thread it exits without notifying GDB.
So the error is silent even with GDB (Windows/Linux
to do this ?
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Le May 5, 2008 à 5:10 PM, ik a écrit :
Look at the Format function, you can tell it to display the address of
a pointer in a string.
Thanks !
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___
fpc
and anything else you wish to add I do appreciate it.
George
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas
://www.ibphoenix.com/main.nfs?a=ibphoenixpage=ibp_publications
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman
and TYPE are allowed only in generics
commons.pas(35,21) Error: Identifier not found _T
Could someone tell me where I am wrong ?
Thanks !
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___
fpc-pascal
the TMyMcollection.
It seems like hard work, but it is much better then the way it look on
a bad C++ and Java code :)
:)
Ido
On Mon, Mar 31, 2008 at 4:00 PM, Damien Gerard
[EMAIL PROTECTED] wrote:
I would like to make a generic class, like this :
{$mode objfpc}
generic TMCollection_T = class
Le Mar 31, 2008 à 3:00 PM, Damien Gerard a écrit :
I would like to make a generic class, like this :
{$mode objfpc}
generic TMCollection_T = class(TObject)
private
FDefaultItem: _T; // line 35
public
constructor Create;
destructor Destroy;override;
[...]
end;
But I have got
parameter must be a
descendant of another class ?
Ido
On Mon, Mar 31, 2008 at 4:27 PM, Damien Gerard
[EMAIL PROTECTED] wrote:
Le Mar 31, 2008 à 3:00 PM, Damien Gerard a écrit :
I would like to make a generic class, like this :
{$mode objfpc}
generic TMCollection_T = class(TObject)
private
an Interface but I had a nice Segementation fault :)
Should I report it as a bug in the mantis ?
foo.pas
Description: Binary data
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___
fpc-pascal maillist
Oki I understand.
I tried to use an Interface but I had a nice Segementation fault :)
Should I report it as a bug in the mantis ?
foo.pas
Actually there is the same error with an intermediate class :(
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas
Le Mar 31, 2008 à 6:36 PM, Micha Nelissen a écrit :
Damien Gerard wrote:
I tried to use an Interface but I had a nice Segementation fault :)
Should I report it as a bug in the mantis ?
foo.pas
Actually there is the same error with an intermediate class :(
Segmentation faults
Le Mar 31, 2008 à 10:06 PM, Damien Gerard a écrit :
Le Mar 31, 2008 à 6:36 PM, Micha Nelissen a écrit :
Damien Gerard wrote:
I tried to use an Interface but I had a nice Segementation fault :)
Should I report it as a bug in the mantis ?
foo.pas
Actually there is the same error
at IRC I suppose it's working, any
idea?
Jesus Reyes A.
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman
are
correct. So I guess the two parameters share the same pointer. It
seems logic to me in this case.
However, is there a way the compiler produces an error in this case ?
I suppose there is a similar case with the 'var' keyword.
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10
Le Mar 3, 2008 à 5:22 PM, ik a écrit :
Doesn't FillChar/Word/Byte works for you ?
I don't think any of them made my purpose.
Ido
On Mon, Mar 3, 2008 at 6:16 PM, Damien Gerard [EMAIL PROTECTED]
wrote:
In any programs, a lot of tests on empty strings are made.
The following made
Le Mar 7, 2008 à 2:54 PM, Jonas Maebe a écrit :
On 03 Mar 2008, at 17:16, Damien Gerard wrote:
In any programs, a lot of tests on empty strings are made.
The following made the work :
if Length(s) 0 then ...
or
if s '' then ...
In a lot of cases, the real length is no needed, just
Le Mar 7, 2008 à 3:35 PM, John Coppens a écrit :
On Fri, 7 Mar 2008 15:09:36 +0100
Damien Gerard [EMAIL PROTECTED] wrote:
Consequently, it can not be the same code. Otherwise I understood
nothing :)
'' is an empty string, _and_ its length is zero (of course). So the
compiler is so
...
so I am not sure that using s[0] is safe
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
, and '' an empty string ?
Micha
--
Damien Gerard
[EMAIL PROTECTED]
Intelligence is 10 million rules.
-- Douglas Lenat
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
with the first char we can know if the string is empty or not.
Is there a function of this kind that I don't know already exist ?
Would it be possible to implement such a function (may be a stupid
idea for an unknown reason) ?
Can this function be directly done in FPC ?
Regards.
--
Damien
hi !
I use includes files and a vim editor. Obviously .inc are not
recognized as pascal files.
I tried the following :
// vim:ts=4:filetype=pascal
but it does not work.
Any ideas ?
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty
Le Feb 24, 2008 à 9:59 PM, Lucas Vasconcelos a écrit :
hi,
try
// vim: set ts=4 filetype=pascal :
;~]
It does not work either :(
On Sun, Feb 24, 2008 at 9:29 AM, Damien Gerard
[EMAIL PROTECTED] wrote:
hi !
I use includes files and a vim editor. Obviously .inc are not
recognized
/Web_Service_Toolkit
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Le Feb 12, 2008 à 12:36 PM, Graeme Geldenhuys a écrit :
On 11/02/2008, Damien Gerard [EMAIL PROTECTED] wrote:
My program must work under OSX/Nux and Windows.
I may have missed something but I can not find something suitable for
me.
Under Windows OpenSemaphore, under unixes CurrentTM.Semaphore
Le Feb 12, 2008 à 12:36 PM, Graeme Geldenhuys a écrit :
On 11/02/2008, Damien Gerard [EMAIL PROTECTED] wrote:
My program must work under OSX/Nux and Windows.
I may have missed something but I can not find something suitable for
me.
Under Windows OpenSemaphore, under unixes CurrentTM.Semaphore
Le Feb 12, 2008 à 2:41 PM, Jonas Maebe a écrit :
On 11 Feb 2008, at 10:45, Damien Gerard wrote:
I think it has been discussed before but I would like to use
Semaphores, to allow multiple reads but 1 write at once (which is
in fact commons operations in a multi-thread program).
My
something suitable for
me.
Under Windows OpenSemaphore, under unixes CurrentTM.Semaphore*...
Is there any TSemaphore class of equivalent ? Or may be an example how
to use Semaphores ? :)
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty
something to do from my side ?
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
: TStringList;
FList2: TStringList;
public
property List1: TStringList read FList1;
property List2: TStringList read FList2;
end;
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
___
fpc
On Jan 21, 2008, at 2:52 PM, Joao Morais wrote:
Damien Gerard wrote:
I have (it would seem) a stupid question :)
We have TStringList vars. User can do what he want with it.
Which one is the stupid or the better way to do it ?
TMyClass = class(TObject)
public
snip
List1: TStringList
On Jan 21, 2008, at 4:47 PM, Joao Morais wrote:
Matt Emson wrote:
Joao Morais wrote:
Damien Gerard wrote:
On Jan 21, 2008, at 2:52 PM, Joao Morais wrote:
Damien Gerard wrote:
I have (it would seem) a stupid question :)
We have TStringList vars. User can do what he want with it.
Which
Is there a standard Coding style for FreePascal (Pascal) available
which programmers should use ?
It is for my boss :)
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
___
fpc-pascal
Hi !
I would like to read UTF8 files. There is TFileStream, and it seems to
make the job. However, I need read _big_ files (with long string) so I
would like to read block by block instead of a big string in memory
with ReadAnsiString.
How should I do ?
Thanks !
--
Damien Gerard
On Jan 18, 2008, at 12:16 PM, Bee wrote:
And yes, I'd like to have implemented that (child units) in FPC.
What is child unit?
http://www.adaic.com/docs/95style/html/sec_4/4-1-1.html
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
.
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
'.pas' I get:
Error:Can't create object file x.o
Error:Can't create object x.o
Both systems run under XP Home+SP2. Presumably a configuration
problem? Any
suggestions(polite) please.
May be some Permissions issues ?
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a
With fpc you can get myfile.pas(77,47) Warning: Constructing a class
with abstract methods
I just would like to know why it is allowed to build classes with
abstract methods. AFIK it is different from other compilers and it is
a bit strange for me.
--
Damien Gerard
[EMAIL PROTECTED
On Jan 14, 2008, at 10:27 AM, Michael Van Canneyt wrote:
On Mon, 14 Jan 2008, Damien Gerard wrote:
With fpc you can get myfile.pas(77,47) Warning: Constructing a
class
with abstract methods
I just would like to know why it is allowed to build classes with
abstract
methods. AFIK
classes.
Indeed I should do this. Thanks
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman
On Jan 14, 2008, at 10:53 AM, Michael Van Canneyt wrote:
On Mon, 14 Jan 2008, Damien Gerard wrote:
On Jan 14, 2008, at 10:27 AM, Michael Van Canneyt wrote:
On Mon, 14 Jan 2008, Damien Gerard wrote:
With fpc you can get myfile.pas(77,47) Warning: Constructing a
class
there is not the case due to there is not the property
OwnObject as in a TObjectList.
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
,
that will stop your compilation, you'll never get to the abstract
warning...
I agree.
May be a new option in a future release of fpc ? :)
It would be nice to have a switch to do it.
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty
On Jan 14, 2008, at 2:59 PM, Jonas Maebe wrote:
On 14 Jan 2008, at 14:43, Damien Gerard wrote:
On Jan 14, 2008, at 11:55 AM, Michael Van Canneyt wrote:
The problem with this mechanism is that if you have another
warning which occurs first,
that will stop your compilation, you'll never
care about ?
--
Damien Gerard
[EMAIL PROTECTED]
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
or text-mode) apps? I dislike ncurses; is
there a better way?
console
graph unit (BGI drivers under windows and Linux (X _not_ VGAlib) )
If one writes a book, _please_ use SDL for graphics and skip the
legacy
graph unit :)
Agree :)
--
Damien Gerard
[EMAIL PROTECTED]
People who
Hi !
I would like to know if there are any differences between these two
following declarations :
type
TMyType = smallint;
And
type
TMyType = type smallint;
--
Damien Gerard
[EMAIL PROTECTED]
People who used magic without knowing what they were doing usually
came to a sticky end
Just another question :)
What is the most efficient way to check if a string is empty or not ?
if s = '' then ...
of this one
if Length(s) 0 then ...
--
Damien Gerard
[EMAIL PROTECTED]
People who used magic without knowing what they were doing usually
came to a sticky end. All over
On Dec 21, 2007, at 2:47 PM, Daniël Mantione wrote:
Op Fri, 21 Dec 2007, schreef Damien Gerard:
Just another question :)
What is the most efficient way to check if a string is empty or not ?
if s = '' then ...
of this one
if Length(s) 0 then ...
Both generate the same code.
Thanks
On Dec 21, 2007, at 3:53 PM, ik wrote:
Hi,
On Dec 21, 2007 3:23 PM, Damien Gerard [EMAIL PROTECTED] wrote:
Hi !
I would like to know if there are any differences between these two
following declarations :
type
TMyType = smallint;
This is an alias to smallint, giving it a new way
version=0.1
[require]
packages=
[target]
programs=sayuri
[compiler]
unitdir=languages
includedir=.
[default]
target=all
[clean]
files=$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
--
Damien Gerard
[EMAIL PROTECTED]
People who used magic without knowing what they were
75 matches
Mail list logo