Re: [fpc-pascal] How to set LCL widgetset for my project?

2009-10-29 Thread
Thank you for all your detailed answers. I read information about lazbuild, but I think using Lazarus is much more easier. Since I am used to vim, it might cost me some time to get familiar with it. Thanks again. 2009/10/27 Mattias Gaertner : > On Tue, 27 Oct 2009 09:55:03 +0200 > Graeme Geldenhu

Re: [fpc-pascal] How to set LCL widgetset for my project?

2009-10-27 Thread
2009/10/27 Alexander Grau : > 章宏九 schrieb: >> >> On the page (http://wiki.lazarus.freepascal.org/Qt_Interface), I read >> "To compile a project for Qt just select it as the target widgetset on >> the Compiler Options dialog." However, I am using vim instead of

[fpc-pascal] How to set LCL widgetset for my project?

2009-10-26 Thread
On the page (http://wiki.lazarus.freepascal.org/Qt_Interface), I read "To compile a project for Qt just select it as the target widgetset on the Compiler Options dialog." However, I am using vim instead of Lazarus IDE. How should I set the compiler options in the command line? I would also like to

Re: [fpc-pascal] Who said Pascal isn't popular

2009-10-15 Thread
Hmm, currently I am also learning Oberon. No any language requires an IDE. I use vim. Others might use emacs. These are enough. What we need is a simple editor (if you like, GNU nano or simply "cat > 1.pas" is okay) and a compiler. They can make the world, although not that efficiently. Not the b

Re: [fpc-pascal] Case in Record

2009-10-06 Thread
I see. That means if no tag name is given, I should make sure my code is correct by myself. Thank you. 2009/10/7 Anton Tichawa : > On Tue, 2009-10-06 at 23:37 +0800, 章宏九 wrote: >> Thank you. I saw all the examples you gave, but I still cannot master >> how to use a variant r

Re: [fpc-pascal] Early BSD's Pascal system

2009-10-06 Thread
Thank you for your detailed information. 2009/10/6 Marco van de Voort : > In our previous episode, 章宏九 said: >> I notice that in early 1977, BSD contains a Pascal interpreter (or >> maybe compiler, I am not sure). How was it later? Is there any remain >> archives? > &g

[fpc-pascal] Early BSD's Pascal system

2009-10-06 Thread
I notice that in early 1977, BSD contains a Pascal interpreter (or maybe compiler, I am not sure). How was it later? Is there any remain archives? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal] Case in Record

2009-10-06 Thread
Thank you. I saw all the examples you gave, but I still cannot master how to use a variant record without a specified tag. For example: type TShapeList = (Rectangle, Triangle, Circle, Ellipse, Other); TFigure = record case TShapeList of Rectangle: (Height, Width: Real); Triangl

[fpc-pascal] Case in Record

2009-10-06 Thread
In the document (http://www.freepascal.org/docs-html/ref/refsu15.html#x38-450003.3.2) I read the code below: Type MyRec = Record X : Longint; Case byte of 2 : (Y : Longint; case byte of 3 : (Z : Longint); );

Re: [fpc-pascal] Re: Support for C++ library format?

2009-10-05 Thread
About C++ to C, you can see Sun developer's paper: Mixing C and C++ Code in the same program (http://developers.sun.com/solaris/articles/mixing.html). Very detailed and useful. 2009/10/5 Marco van de Voort : > In our previous episode, Gilles MARCOU said: >> I believe that using C++ objects directl

Re: [fpc-pascal] options for better performance & declaration of system procedures

2009-09-24 Thread
Thank you very much. 2009/9/24 Jonas Maebe : > > On 24 Sep 2009, at 10:53, 章宏九 wrote: > >> 2009/9/24 Jonas Maebe : >>> >>>> I would like also to know the situation in C. (I mean >>>> declaration of printf and scanf. Are they implemented in glibc or

Re: [fpc-pascal] options for better performance & declaration of system procedures

2009-09-24 Thread
2009/9/24 Jonas Maebe : > > On 24 Sep 2009, at 10:31, 章宏九 wrote: > >> I just tried to unfairly compare fpc-compiled binary and gcc-compiled >> binary under my Gentoo box. FPC is incredible. `ps` data shows the fpc >> one costs nearly no memory? > > The FPC run ti

[fpc-pascal] options for better performance & declaration of system procedures

2009-09-24 Thread
Hi. I just tried to unfairly compare fpc-compiled binary and gcc-compiled binary under my Gentoo box. FPC is incredible. `ps` data shows the fpc one costs nearly no memory? But I still notice it is a little slow. It usually costs 0.5~1.0 time more than the gcc one. It seems as if fpc saves memory