Re: [fpc-pascal] Basic question about TStringList

2008-03-27 Thread Crause, Christo (JC)
> From: [EMAIL PROTECTED] > As a consequence I have another question. Suppose I have a function > that returns a TStringList: > > Myfunction(): TStringList; > > I must have inside a line like: > > Result:=TStringList.Create; > > Let A be a TStringList, I have two ways to catch the result >

[fpc-pascal] Important: Call for testing.

2008-03-27 Thread Michael Van Canneyt
Hello, at the end of last year, the FPC team was notified that certain portions of the FPC codebase contained possible copyright infringements on copyrighted code from Codegear (Borland). As a precaution, an internal audit was done by the FPC team using an automated tool, and a list of routine

Re: [fpc-pascal] connection problem

2008-03-27 Thread Jonas Maebe
On 27 Mar 2008, at 17:21, Luiz Americo Pereira Camara wrote: I am experiencing similar problems with the www.freepascal.org front page and svn checkout update - both just hang. It is ISP specific - my normal ones work fine, but I am staying away from home this week and my host's ISP won't c

Re: [fpc-pascal] connection problem

2008-03-27 Thread Luiz Americo Pereira Camara
[EMAIL PROTECTED] wrote: I am experiencing similar problems with the www.freepascal.org front page and svn checkout update - both just hang. It is ISP specific - my normal ones work fine, but I am staying away from home this week and my host's ISP won't connect. Colin Hi, I'm experiencing conn

Re: [fpc-pascal] connection problem

2008-03-27 Thread Damien Gerard
Le Mar 27, 2008 à 2:30 PM, [EMAIL PROTECTED] a écrit : I am experiencing similar problems with the www.freepascal.org front page and svn checkout update - both just hang. It is ISP specific - my normal ones work fine, but I am staying away from home this week and my host's ISP won't connect

RE: [fpc-pascal] connection problem

2008-03-27 Thread l
I am experiencing similar problems with the www.freepascal.org front page and svn checkout update - both just hang. It is ISP specific - my normal ones work fine, but I am staying away from home this week and my host's ISP won't connect. Colin Hi, I'm experiencing connection problems to bugs.fre

Re: [fpc-pascal] Basic question about TStringList

2008-03-27 Thread Jonas Maebe
On 27 Mar 2008, at 13:27, [EMAIL PROTECTED] wrote: Let A be a TStringList, I have two ways to catch the result of my function: A:=Myfunction(); or A.Assign(Myfunction()); In the first case, if do A.Free, I release the memory allocated by the function. What's arriving in the second case?

Re: [fpc-pascal] Basic question about TStringList

2008-03-27 Thread g . marcou
Hi, thanks for your very clear answer. In fact this is chilling me as I am thinking to the huge amount of memory leaks that I certainly have in my developements... This means that whenever the assignement operator ":=" is used with TStringLists, the recieving list shall never be created!

Re: [fpc-pascal] Windows unit and SyncObjs unit clash

2008-03-27 Thread Graeme Geldenhuys
On 27/03/2008, Marco van de Voort <[EMAIL PROTECTED]> wrote: > > Yes and no, that would be the last resort solution yes, but I think here > direct Delphi compat _and_ platform independence should weigh heavier than a > misplaced backwards compability for which we have no indications. > > So my f

Re: [fpc-pascal] Windows unit and SyncObjs unit clash

2008-03-27 Thread Marco van de Voort
> On Wed, March 26, 2008 14:43, Marco van de Voort wrote: > > Hmm, didn't older (<6) versions simply have this, and did synobjs get > > introduced later? In that case, if Delphi can break compat, so can we. > > Maybe we could mark the declaration in unit Windows deprecated and later > remove in 2.

Re: [fpc-pascal] Basic question about TStringList

2008-03-27 Thread Andreas Berger
Hi, I seek help to clarify a very basic use of TStringList. Let A and B be TStringLists. What is the difference between: A:=B; and A.Assign(B); ? That's more a basic(?) question about Pascal. When you do A:=B; then A has become equal to B. That means for example that if you add an n

Re: [fpc-pascal] Windows unit and SyncObjs unit clash

2008-03-27 Thread Graeme Geldenhuys
On 27/03/2008, Tomas Hajny <[EMAIL PROTECTED]> wrote: > > > Maybe we could mark the declaration in unit Windows deprecated and later > remove in 2.5.x (or whatever that becomes)? I think this would be a good idea. It makes no sense having two TCriticalSection definitions. Plus it's much harder

Re: [fpc-pascal] Basic question about TStringList

2008-03-27 Thread Joost van der Sluis
Op donderdag 27-03-2008 om 11:35 uur [tijdzone +0100], schreef [EMAIL PROTECTED]: > Hi, > > I seek help to clarify a very basic use of TStringList. > > Let A and B be TStringLists. What is the difference between: > > A:=B; > > and > > A.Assign(B); ? That's more a basic(?) question about Pasca

[fpc-pascal] Basic question about TStringList

2008-03-27 Thread g . marcou
Hi, I seek help to clarify a very basic use of TStringList. Let A and B be TStringLists. What is the difference between: A:=B; and A.Assign(B); ? Thanks in advance for your help, Gilles Marcou ___ fpc-pascal maillist - fpc-pascal@lists.freepasc

Re: [fpc-pascal] Windows unit and SyncObjs unit clash

2008-03-27 Thread Tomas Hajny
On Wed, March 26, 2008 14:43, Marco van de Voort wrote: >> On Wed, 26 Mar 2008, Graeme Geldenhuys wrote: >> >> > On 26/03/2008, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: >> > > >> > > Yes, use fully qualified names. >> > > >> > > windows.tcriticalsection. >> > > syncobjs.tcriticalsection. >>

Re: [fpc-pascal] connection problem

2008-03-27 Thread Florian Klaempfl
Jesus Reyes schrieb: > Hi, I'm experiencing connection problems to bugs.freepascal.org and > svn.freepascal.org. If you don't need write access to svn, you can try svn2.freepascal.org ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lis