Re: [fpc-pascal] Metaware

2007-06-20 Thread Mark Wood
It strikes me that whilst it may not be the best programming form, the same thing could be done readily with a global variable? M. Tom Walsh wrote: Mark Wood wrote: I have found that there are some functional differences that Metaware has over fpc, one example is the yield() function which

[fpc-pascal] Re Serial (RS232)

2007-06-20 Thread dale.harris
All I've am wondering if FPC comes with a simple way to use the serial interface to a system. If someone could point me to something within I would be much appreciated. The documentation does not show anything on this and I want to do this with free pascal on linux. Anything on ethernet as well.

Re: [fpc-pascal] Metaware

2007-06-20 Thread memsom
About three years ago, when this project was first proposed, I did find a white-paper written by someone at Metaware which outlined the internals of the yield(). And the code runs in a single thread or concurrently? Looks like it would be nigh on impossible to translate the code as it

Re: [fpc-pascal] Metaware

2007-06-20 Thread Vinzent Hoefler
On Wednesday 20 June 2007 06:55, Mark Wood wrote: [iterator functions with yield()] It strikes me that whilst it may not be the best programming form, the same thing could be done readily with a global variable? Not if you call such an iterator several times at once (in nested loops for

Re: [fpc-pascal] Re Serial (RS232)

2007-06-20 Thread Luca Olivetti
En/na [EMAIL PROTECTED] ha escrit: All I've am wondering if FPC comes with a simple way to use the serial interface to a system. If someone could point me to something within I would be much appreciated. The documentation does not show anything on this and I want to do this with free pascal

[fpc-pascal] Documentation for sqldb

2007-06-20 Thread John
Is there any documentation for the SQLDB components ? I have put a fair bit of effort in to looking round the FPC and Lazarus documentation and wiki areas, and while there are a few helpful hints here and there, I have not been able to find any sort of overview of how the components are

[fpc-pascal] Lua and Freepascal and ARM

2007-06-20 Thread josepascual
Hi Everyone I have made a example with lua inside freepascal. I have test it in i386 fpc 2.1.4 with no problem ann in ARM with fpc 2.1.4. I hav a problem: I have tried to debug it (gdb): (gdb) LUATOVARIANT (L=0xdda08, INDEX=-2, result=void) at LuaUtils.pas:438 438 end; (gdb) 438 end;

Re: [fpc-pascal] Re Serial (RS232)

2007-06-20 Thread Alain Michaud
Hi, see the package SYNAPSE - SYNASER On Tue, 2007-06-19 at 09:19 -0500, [EMAIL PROTECTED] wrote: All I've am wondering if FPC comes with a simple way to use the serial interface to a system. If someone could point me to something within I would be much appreciated. The documentation

[fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Catalin Zamfir Alexandru
Hello, I've made this KCalculator for KDE: http://kde-apps.org/content/show.php/KCalculator?content=60813 I want to compile the project in QT, not GTK2. How can I do that? When I try it [switching from GTK2 to QT in the Compiler Options], the project.lpr file opens up, instead of compiling.

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Mattias Gaertner
On Wed, 20 Jun 2007 18:58:31 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Hello, I've made this KCalculator for KDE: http://kde-apps.org/content/show.php/KCalculator?content=60813 I want to compile the project in QT, not GTK2. How can I do that? When I try it [switching from

Re: [fpc-pascal] Documentation for sqldb

2007-06-20 Thread Joao Morais
Joost van der Sluis wrote: Those are the basics. If you have questions, ask them here. I have two! - please send me some hints to configure a query as fast as possible -- read only and unidirectional. I will open the query, read everything and close it. - what about RowsAffected?

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Catalin Zamfir Alexandru
Yes, and I get a can't find unit qtint error. Why that? On Wednesday 20 June 2007 19:53, Mattias Gaertner wrote: On Wed, 20 Jun 2007 18:58:31 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Hello, I've made this KCalculator for KDE:

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Felipe Monteiro de Carvalho
On 6/20/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, and I get a can't find unit qtint error. Why that? Did you rebuild LCL for the Qt interface? You need write access to your lazarus directory to do that. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Documentation for sqldb

2007-06-20 Thread Joost van der Sluis
On Wed, 2007-06-20 at 14:43 -0300, Joao Morais wrote: Joost van der Sluis wrote: Those are the basics. If you have questions, ask them here. I have two! - please send me some hints to configure a query as fast as possible -- read only and unidirectional. I will open the query, read

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Catalin Zamfir Alexandru
Yes, built LCL for the Qt Interface. Compilation went great. On Wednesday 20 June 2007 23:32, Felipe Monteiro de Carvalho wrote: On 6/20/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, and I get a can't find unit qtint error. Why that? Did you rebuild LCL for the Qt interface? You

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Vincent Snijders
On Wed, 20 Jun 2007 23:58:15 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL for the Qt Interface. Compilation went great. A trick question: how did you do that exactly? Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Felipe Monteiro de Carvalho
On 6/20/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL for the Qt Interface. Compilation went great. Can you put the source code somewhere so I can test? By using Qt opensource you will need to release your software under GPL anyway, so I suppose this is no problem. --

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread micahel schneider
Am Mittwoch 20 Juni 2007 schrieb Vincent Snijders: On Wed, 20 Jun 2007 23:58:15 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL for the Qt Interface. Compilation went great. Is your installed QT version the same as the version of the bindings (QT 4.3 in V1.37)?

Re: [fpc-pascal] Documentation for sqldb

2007-06-20 Thread Joao Morais
Joost van der Sluis wrote: - please send me some hints to configure a query as fast as possible -- read only and unidirectional. I will open the query, read everything and close it. Set ParseSQL to false. (This wil automatically set readonly to true) It won't be unidirectional, but I made an

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Catalin Zamfir Alexandru
According to the instructions on the Qt_Interface Lazarus Wiki Page. On Thursday 21 June 2007 00:49, Vincent Snijders wrote: On Wed, 20 Jun 2007 23:58:15 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL for the Qt Interface. Compilation went great. A trick question:

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Catalin Zamfir Alexandru
I have Qt 3.6 [the last in the Gentoo package]. Do I really need Qt 4.3, V1.37?! On Friday 22 June 2007 01:00, micahel schneider wrote: Am Mittwoch 20 Juni 2007 schrieb Vincent Snijders: On Wed, 20 Jun 2007 23:58:15 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL