Re: [fpc-pascal] missing stacktrace - why?

2011-07-04 Thread Martin
On 04/07/2011 21:57, Bernd wrote: // raise Exception.Create('foo'); L := TStringList.Create; s := L.Strings[0]; then the output in the console looks like this: bernd@t40:~/Desktop/except\ $ ./extest EStringListError: List index (0) out of bounds $080705B0 TSTRINGLIST__GET, line 10

[fpc-pascal] missing stacktrace - why?

2011-07-04 Thread Bernd
consider the following code: program extest; {$mode objfpc}{$H+} uses Classes, Sysutils; {$R *.res} procedure foo; var L : TStringList; S : String; begin raise Exception.Create('foo'); //L := TStringList.Create; //s := L.Strings[0]; end; procedure bar; begin foo; end; begin t

[fpc-pascal] Re: video unit and pseudo-graphic characters on Windows

2011-07-04 Thread Valentin Calinov
On 04/07/2011 10:00 PM, Howard Page-Clark wrote: On 04/7/11 7:16, Calinov Valentin wrote: Many fonts lack graphics for certain code points, particularly code points that are not not normally used for text. Points lacking in a font are substituted by Windows with squares or ?? if you force disp

[fpc-pascal] Odd delimited text file length limitations

2011-07-04 Thread Ko Hashiguchi
Sirs (and Madams, as need be), I use Free Pascal to compose simple filters: I take in a comma-delimited ASCII file, work the data, and spit back out the altered info. I'm having a problem in that my program does not seem to be reading all of the ASCII files. The files are mostly double-precision

Re: [fpc-pascal] video unit and pseudo-graphic characters on Windows

2011-07-04 Thread Howard Page-Clark
On 04/7/11 7:16, Calinov Valentin wrote: Hi, I need to display pseudo-graphic characters on Windows XP (English version) using video unit from fpc-2.4.4 . When I use "Raster Fonts" they are displayed correctly but when I use "Lucida Console" font, small squares are displayed instead. The current

[fpc-pascal] video unit and pseudo-graphic characters on Windows

2011-07-04 Thread Calinov Valentin
Hi,   I need to display pseudo-graphic characters on Windows XP (English version) using video unit from fpc-2.4.4 .   When I use "Raster Fonts" they are displayed correctly but when I use "Lucida Console" font, small squares are displayed instead.   The current code page displayed by chcp comma

Re: [fpc-pascal] Re: Linux: How to execute a program, but not to wait until finishes

2011-07-04 Thread Marco van de Voort
In our previous episode, Lukasz Sokol said: > > ExecuteProcess('/bin/bash -c /my/path/to/exe &'); // (probably...?) First, the binary name is always separate, there are minimal two parameters. Moverover I would use the separate syntax, or use "" to signal that the /commandline my... & belongs t

[fpc-pascal] Re: Linux: How to execute a program, but not to wait until finishes

2011-07-04 Thread Lukasz Sokol
On 04/07/2011 08:14, fred f wrote: > Hi all, > > How can I execute an external program, but to let my code continue. > > This doesn't work as I want and waits for finishing called app: > > ExecuteProcess (MyPathToExe, ' &'); > That would only work if you do ExecuteProcess('/bin/bash -

Re: [fpc-pascal] Re: Compiling FPC with DEBUG

2011-07-04 Thread Marcos Douglas
On Sat, Jul 2, 2011 at 12:22 PM, leledumbo wrote: > > > 1- How can I compile all packages with DEBUG option? > > pass OPT='-g' when calling make, disabling optimizations (-O-) might be a > good idea too. > > > 2- How can I compile just one package, eg fcl-xml, with DEBUG option? > > same as above,

Re: [fpc-pascal] Linux: How to execute a program, but not to wait until finishes

2011-07-04 Thread michael . vancanneyt
On Mon, 4 Jul 2011, fred f wrote: Hi all, How can I execute an external program, but to let my code continue. This doesn't work as I want and waits for finishing called app: ExecuteProcess (MyPathToExe, ' &'); The following will work if you put the 'process' unit in your uses claus

[fpc-pascal] Re: Compiling FPC with DEBUG

2011-07-04 Thread leledumbo
> 1- How can I compile all packages with DEBUG option? pass OPT='-g' when calling make, disabling optimizations (-O-) might be a good idea too. > 2- How can I compile just one package, eg fcl-xml, with DEBUG option? same as above, but cd to the package directory first. > I wrote on the wrong

[fpc-pascal] Linux: How to execute a program, but not to wait until finishes

2011-07-04 Thread fred f
Hi all, How can I execute an external program, but to let my code continue. This doesn't work as I want and waits for finishing called app: ExecuteProcess (MyPathToExe, ' &'); Thanks. Bye, Fred ___ fpc-pascal maillist - fpc-pascal@lists.fre