[fpc-pascal] sorting and merging array of records

2012-01-09 Thread waldo kitty
i have a li'l project i've been wanting to do for a really long time... as i'm trying to do more and more with FPC, i've experimented a bit and found that i should be able to handle this project much easier without the old DOS limitations on memory usage and without having to use special stuff

Re: [fpc-pascal] How to get path to current theme icons on linux?

2012-01-09 Thread Michael Van Canneyt
On Mon, 9 Jan 2012, Krzysztof wrote: Hi, I need to load icon associated by file extension. On windows I done this by WinAPI function ExtractAssociatedIcon(). On linux is not so easy, because we have GNOME, KDE, XFCE, LXDE etc, but I noticed that icons are stored in this same place (like /home

[fpc-pascal] How to get path to current theme icons on linux?

2012-01-09 Thread Krzysztof
Hi, I need to load icon associated by file extension. On windows I done this by WinAPI function ExtractAssociatedIcon(). On linux is not so easy, because we have GNOME, KDE, XFCE, LXDE etc, but I noticed that icons are stored in this same place (like /home/[account]/.icons/ or /usr/share/icons), s

Re: [fpc-pascal] OT: Delphi HLPlib is discontinued

2012-01-09 Thread Ralf A. Quint
At 08:28 AM 1/9/2012, ik wrote: On Mon, Jan 9, 2012 at 18:24, Ralf A. Quint <free...@gmx.net> wrote: At 05:17 AM 1/9/2012, ik wrote: Hello, I've read today a thread about <http://code.google.com/p/delphilhlplib/%20>the subjec

Re: [fpc-pascal] OT: Delphi HLPlib is discontinued

2012-01-09 Thread ik
On Mon, Jan 9, 2012 at 18:24, Ralf A. Quint wrote: > At 05:17 AM 1/9/2012, ik wrote: > >> Hello, >> >> I've read today a thread about > delphilhlplib/%20 >the >> subject's project. >> >> It is a free software project that w

Re: [fpc-pascal] OT: Delphi HLPlib is discontinued

2012-01-09 Thread Ralf A. Quint
At 05:17 AM 1/9/2012, ik wrote: Hello, I've read today a thread about the subject's project. It is a free software project that we also be interested in. So if any existed Pascal based code library can adopt it, I think we can all benefit from it.

[fpc-pascal] Re: Help!!

2012-01-09 Thread Malvin
thanks, i'll try using it On 1/4/12, Graeme Geldenhuys-2 [via Free Pascal - General] wrote: > > > On 4 January 2012 12:33, Malvin wrote: >> Is there any other components need installing so that it will connect >> properly other than libmysql.dll, > > Under Windows, that should be all that you ne

[fpc-pascal] OT: Delphi HLPlib is discontinued

2012-01-09 Thread ik
Hello, I've read today a thread about the subject's project . It is a free software project that we also be interested in. So if any existed Pascal based code library can adopt it, I think we can all benefit from it. Ido

Re: [fpc-pascal] FPCUnit without Lazarus

2012-01-09 Thread michael . vancanneyt
On Mon, 9 Jan 2012, Graeme Geldenhuys wrote: On 8 January 2012 17:23, Michael Van Canneyt wrote: After your previous mails about this, I have discussed this with Vincent Snijders, the author of the console runner class. The console runner class of the LCL does not really have any dependencie

Re: [fpc-pascal] FPCUnit without Lazarus

2012-01-09 Thread Graeme Geldenhuys
On 8 January 2012 17:23, Michael Van Canneyt wrote: > > After your previous mails about this, I have discussed this with Vincent > Snijders, the author of the console runner class. The console runner class > of the LCL does not really have any dependencies on the LCL, only on FCL. >From memory, it

Re: [fpc-pascal] format string - number padding

2012-01-09 Thread ik
On Mon, Jan 9, 2012 at 13:17, Sven Barth wrote: > > Am 09.01.2012 12:08 schrieb "ik" : > > > > > Hello, > > > > I'm trying to use the Format function to pad a number like so: > > 01 > > where the original value is "$1". > > > > I tried to do the following: > > > > writeln(Format('%02X', [$1])); >

Re: [fpc-pascal] format string - number padding

2012-01-09 Thread Lubomír Čabla
Try writeln(Format('%.2x', [$1])); On Mon, Jan 9, 2012 at 12:07 PM, ik wrote: > Hello, > > I'm trying to use the Format function to pad a number like so: > 01 > where the original value is "$1". > > I tried to do the following: > > writeln(Format('%02X', [$1])); > writeln(Format('%0:2X', [$1]))

Re: [fpc-pascal] format string - number padding

2012-01-09 Thread Sven Barth
Am 09.01.2012 12:08 schrieb "ik" : > > Hello, > > I'm trying to use the Format function to pad a number like so: > 01 > where the original value is "$1". > > I tried to do the following: > > writeln(Format('%02X', [$1])); > writeln(Format('%0:2X', [$1])); > writeln(Format('%:2X', [$1])); > > All of

[fpc-pascal] format string - number padding

2012-01-09 Thread ik
Hello, I'm trying to use the Format function to pad a number like so: 01 where the original value is "$1". I tried to do the following: writeln(Format('%02X', [$1])); writeln(Format('%0:2X', [$1])); writeln(Format('%:2X', [$1])); All of them created the following output: " 1" What am I doing w