Sven Barth wrote:
On 26.07.2014 19:50, leledumbo wrote:
Because then all apps are linked to it, also the ones that don't need
threads. Same for clocale and cwstrings.
If the widestring manager could be made by ourselves, is it possible for
thread manager as well?
Principiall yes, but the
Could anybody enlighten me on how to make the 'SetLength' procedure into
an equivalent function
I have many instances of
SetLength(xxx, Length(xxx)+1);
Num := High(xxx);
I would like to have Num := SetLength(xxx, Length(xxx)+1);
or even something like Num := IncLength(xxx, 1);
These are
Am 2014-07-27 12:10, schrieb Steve Gatenby:
Could anybody enlighten me on how to make the 'SetLength' procedure into an
equivalent function
I have many instances of
SetLength(xxx, Length(xxx)+1);
Num := High(xxx);
What is the problem with this code?
Why force these 2 commands into a
It is only a personal preference, not a serious problem.
I would find code in the form of
ArrayLen := IncLength(ArrayName, 1);
to be much more readable then
SetLength(ArrayName, Length(ArrayName)+1);
ArrayLen:= High(ArrayName);
I was just hoping somebody may know how its done.
Thanks
It is only a personal preference, not a serious problem.
I would find code in the form of
ArrayLen := IncLength(ArrayName, 1);
to be much more readable then
SetLength(ArrayName, Length(ArrayName)+1);
ArrayLen:= High(ArrayName);
I was just hoping somebody may know how
Thanks for that - I will give it a try :)
On 27/07/14 21:21, leledumbo wrote:
It is only a personal preference, not a serious problem.
I would find code in the form of
ArrayLen := IncLength(ArrayName, 1);
to be much more readable then
SetLength(ArrayName, Length(ArrayName)+1);
In our previous episode, leledumbo said:
Because then all apps are linked to it, also the ones that don't need
threads. Same for clocale and cwstrings.
If the widestring manager could be made by ourselves, is it possible for
thread manager as well?
You could make an own threadmanager in
In our previous episode, Mark Morgan Lloyd said:
Going back to something less labour intensive, would it be possible to
have s directive which has the effect that if a procedure isn't
eliminated by smartlinking then the linker should warn if a specific
library hasn't been linked?
ELF
On 27.07.2014 11:39, Mark Morgan Lloyd wrote:
Sven Barth wrote:
On 26.07.2014 19:50, leledumbo wrote:
Because then all apps are linked to it, also the ones that don't need
threads. Same for clocale and cwstrings.
If the widestring manager could be made by ourselves, is it possible for
thread
Am 2014-07-27 12:51, schrieb Steve Gatenby:
I would find code in the form of
ArrayLen := IncLength(ArrayName, 1);
to be much more readable then
SetLength(ArrayName, Length(ArrayName)+1);
ArrayLen:= High(ArrayName);
Why? It is not clear which index ArrayLen will receive from
On Sun, Jul 27, 2014 at 02:39:58PM +0200, Sven Barth wrote:
On 27.07.2014 11:39, Mark Morgan Lloyd wrote:
Sven Barth wrote:
On 26.07.2014 19:50, leledumbo wrote:
Because then all apps are linked to it, also the ones that don't need
threads. Same for clocale and cwstrings.
If the widestring
I very seldom comment on this, or any, forum unless I have a good answer
and no one else seem to have one. This case is different. I have noticed
quit often here that instead of answering the question people try to
reason why in the world the author of the question would even want to do
this.
Am 2014-07-27 19:28, schrieb Andreas Berger:
I have noticed quit often here that instead of answering the question people try to
reason why in the world the author of the question would even want to do this. Would it
not be better to tell him how to do it or at the most say I don't know. I
On 2014-07-27 13:28, Andreas Berger wrote:
I have noticed quit often here that instead of answering the question
people try to reason why in the world the author of the question would
even want to do this.
I agree that this is an annoying pattern on this list.
I would suggest everyone at
On 27.07.2014 17:01, Henry Vermaak wrote:
On Sun, Jul 27, 2014 at 02:39:58PM +0200, Sven Barth wrote:
On 27.07.2014 11:39, Mark Morgan Lloyd wrote:
Sven Barth wrote:
On 26.07.2014 19:50, leledumbo wrote:
Because then all apps are linked to it, also the ones that don't need
threads. Same for
15 matches
Mail list logo