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
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
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
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
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
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
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
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 -
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,
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
> 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
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
12 matches
Mail list logo