Re: [fpc-pascal] fpimage blur

2012-06-01 Thread Mattias Gaertner
On Thu, 31 May 2012 20:42:35 +0100 Graeme Geldenhuys wrote: > On 31 May 2012 12:35, Mattias Gaertner wrote: > > > > Can you give an example or some pseudocode? > > > I just moved country, so don't have access to my development pc yet > (still in shipping), so can't get hold of a working code e

[fpc-pascal] Getting an output string from a TProcess

2012-06-01 Thread luciano de souza
Hello all, I want to execute FPC, but filtering the output in order to show only the necessary information. The reason is I am blind, I use screen reader and, in the console environment, it's not possible to read the rows below without firstly read the rows above. My intention is to use TProcess,

[fpc-pascal] Default value for an open array

2012-06-01 Thread Mark Morgan Lloyd
It's previously been pointed out to me that a declaration such as procedure OutputWriteF(const str: widestring; values: array of const; fg: TColor= clBlack; bg: TColor= clDefault); can't be rewritten type owfArray: array of const; procedure OutputWriteF(const str: widestring; values:

Re: [fpc-pascal] Default value for an open array

2012-06-01 Thread kyan
> However, given a declaration of that form, is it possible to define a > default parameter of [] so that OutputWriteF('Test, no params\n') is > valid? Not for open arrays, but you can write an overloaded version without the open array argument that calls the version with the open array paramete

Re: [fpc-pascal] Default value for an open array

2012-06-01 Thread Mark Morgan Lloyd
kyan wrote: However, given a declaration of that form, is it possible to define a default parameter of [] so that OutputWriteF('Test, no params\n') is valid? Not for open arrays, but you can write an overloaded version without the open array argument that calls the version with the open array

[fpc-pascal] Re: Getting an output string from a TProcess

2012-06-01 Thread leledumbo
> Commandline is signed as deprecated, so what is the best way to pass a string to TProcess? Is the commandline the first item of the tstrings called parameter? http://www.freepascal.org/docs-html/fcl/process/tprocess.commandline.html See something that explains it there? > The output is a cl