On 12/05/2011 23:49, Justin Smyth wrote:
Since upgrading to the lazarus 0.9.31 v30288 x64 ( and win32) i've
noticed the debugging is painfully slow , what use to take only a few
seconds under 0.9.28 now seems to take 20 to 30 seconds
I've noticed this in both projects using win32 ( at work ) and
Since upgrading to the lazarus 0.9.31 v30288 x64 ( and win32) i've noticed the
debugging is painfully slow , what use to take only a few seconds under 0.9.28
now seems to take 20 to 30 seconds
I've noticed this in both projects using win32 ( at work ) and my home projects
on x64 platform for wi
Hello.
I have written the following program:
program a;
{$mode objfpc}
uses
SysUtils;
var
i: integer;
vd: double;
t: TDateTime;
max: int64;// = 1;
begin
t := Now;
max := 1;
for i := 0 to max do
vd := i / max;
Writeln('Time: ', DateTimeToTimeStamp(Now - t).Tim
Thanks Mattias and Anton.
Ie: When you assign a constant string to a PChar then assigns the address of
the string constant.
I believed that be created a PChar in the heap.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.fre
Hi,
I try this:
type
TTestGen = class
constructor Create();
class function Test(val: T): string; inline;
end;
function Blah(const val: Integer): string; inline; overload;
begin
Result:= IntToStr(val + 1);
end;
function Blah(const val: string): string; inline; overload;
begin
Re