> 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
>
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
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
[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
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
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
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?
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!
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
> 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.
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
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
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
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
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.
>>
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
16 matches
Mail list logo