Does FPC use #26 as EOF marker? I use a loop that calls Read until it meets
EOF, and right before the loop ends, #26 is met. This happens at least on
Windows (other platforms untested).
code:
// Please redirect output from a file
var
c: Char;
begin
while not EOF do Read(c);
end.
--
View thi
The behaviour for each platform is described by the
CtrlZMarksEOF
Boolean constant.
It is documented :-)
Michael.
Wed, 2 Sep 2009, leledumbo wrote:
Does FPC use #26 as EOF marker? I use a loop that calls Read until it meets
EOF, and right before the loop ends, #26 is met. This happens at
On 02 Sep 2009, at 10:44, leledumbo wrote:
Does FPC use #26 as EOF marker?
Only on platforms that traditionally use #26 as EOF marker. Afaik,
these are Dos, Windows and OS/2.
I use a loop that calls Read until it meets
EOF, and right before the loop ends, #26 is met. This happens at
le
And the grandfather of the whole line, CP/M.
Stu Cox
Project Management Technician
Southern Interior Region
Ministry of Transportation and Infrastructure
342-447 Columbia St.,
Kamloops, BC V2C 2T3
p: 250-828-4320
f: 250-828-4229
stuart@gov.bc.ca
-Original Message-
From: fpc-pascal-boun
On Wed, September 2, 2009 17:20, Cox, Stuart TRAN:EX wrote:
> And the grandfather of the whole line, CP/M.
Well, if we had CP/M target in FPC, sure...
Tomas
> -Original Message-
> From: fpc-pascal-boun...@lists.freepascal.org
> [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf
Hello,
Is anyone using a profiler in Mac OS X? I am trying to detect if there
are memory leaks.
gprof doesn't seam to work and valgrind doesn't seams usable from
their readme, so I tryed "Sampler" from the Developers dir, but the
application runs and after it nothing appears in the tables.
thank
On Sep 2, 2009, at 11:20 PM, Felipe Monteiro de Carvalho wrote:
Hello,
Is anyone using a profiler in Mac OS X? I am trying to detect if there
are memory leaks.
gprof doesn't seam to work and valgrind doesn't seams usable from
their readme, so I tryed "Sampler" from the Developers dir, but the
On Wed, Sep 2, 2009 at 6:23 PM, Milipili wrote:
> You should use Instruments from the Developper tools.
> /Developper/Applications/Instruments
In my 10.4 there isn't this directory.
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@
Ah, but I found ObjectAlloc, which seams to work, thanks a lot =)
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Sep 2, 2009, at 11:25 PM, Felipe Monteiro de Carvalho wrote:
On Wed, Sep 2, 2009 at 6:23 PM, Milipili wrote:
You should use Instruments from the Developper tools.
/Developper/Applications/Instruments
In my 10.4 there isn't this directory.
Available since 10.5 if I remember well.
http:
On 02 Sep 2009, at 23:20, Felipe Monteiro de Carvalho wrote:
Is anyone using a profiler in Mac OS X? I am trying to detect if there
are memory leaks.
Profilers don't detect memory leaks. Profilers detect which code is
executed (a lot) by the program.
gprof doesn't seam to work
gprof ca
Well, if one checks out the latest Indy SVN sources from
svn://svn.atozed.com/indy/indy10/trunk
the latest revision is 3778 (last update was in April 2009) there is no
way to compile it for FPC/Lazarus.
The FPC related README file is the same as for the 2007 10.2.0.3 FPC
only version and the s
Felipe Monteiro de Carvalho het geskryf:
>
> Is anyone using a profiler in Mac OS X? I am trying to detect if there
> are memory leaks.
As Jonas mentioned, profilers do not detect memory leaks, but rather the
performance (speed) of your code.
What is wrong with enabling the heaptrc unit (-gh)? T
13 matches
Mail list logo