Re: [fpc-pascal]class variable

2003-04-04 Thread milimeter
Great! But does -St also contain the parameters of -S2/-Sd? Or can we use them at them at the same time? "fpc -St -Sd aaa.pp"? > > Sorry that is wrong, static class members are supported, you need to > enable the static keyword using -St > > I don't know what you mean with class properties. > _

[fpc-pascal]class variable

2003-04-03 Thread milimeter
Hello, everybody Can any tell me if there's "Class Variable" in free pascal like in java? I mean, in java, you can declare a class memeber to be "static", all instance of this class share the same variable memory. Such a member can be accessed through class name without any instantiation.

[fpc-pascal]How to edit free pascal file *.pp in xemacs?

2003-03-26 Thread milimeter
Hello, everybody Can you tell me how to use xemacs to edit a free pascal file *.pp? And I hope it can identify all free pascal's syntax hightlight. Should not we give xemacs and vim a good configuration file for free pascal? I hope the free pascal official can release such standard configurat

[fpc-pascal]Can I program a linux device driver with fpc?

2003-03-16 Thread milimeter
Hello, everybody Is there any possibility that we write a linux device driver with fpc? If we can, how? Thanks, mili ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]Problem of ParamStr

2003-02-19 Thread milimeter
Hello, everybody I wrote the following code in program foo.pp: > writeln(ParamStr(1)); < And when I run it with a parameter "foo *.txt", I mean to get "*.txt", but unfortunately, it prints out "test.txt", where test.txt is a file under the same directory. I know the shell e

Re: [fpc-pascal]How to implement a minimum http server?

2003-02-18 Thread milimeter
Yes, I want it. Please send it directly to my email box. Thank you very much. Yours, mili ÔÚ ÐÇÆÚ¶þ 18 ¶þÔ 2003 19:00£¬[EMAIL PROTECTED] дµÀ£º > Re: [fpc-pascal]How to implement a minimum http server? > Reply-To: [EMAIL PROTECTED] > > milimeter (by way of milimeter ) schrie

[fpc-pascal]Can anyone give an example for unit http?

2003-02-17 Thread milimeter
Hello, everybody I noticed that there are two units in fpc: http, AsyncIO, but there's no documents and examples for them. Does anybody know how to use them? Thanks, mili ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org

[fpc-pascal]Solved! -- Can't compile sockets demo

2003-02-17 Thread milimeter
Sorry, It's my own fault, now all work correct. Thanks, mili ÔÚ ÐÇÆÚ¶þ 18 ¶þÔ 2003 10:20£¬ÄúдµÀ£º > Hello, everyone > > I got the following errors when compiling dsocksvr.pp, but there is > already ssockets.o and ssockets.ppu under > /usr/lib/fpc/1.0.7/units/linux/fcl: > > dsocksvr.pp

[fpc-pascal]Can't compile sockets demo

2003-02-17 Thread milimeter
Hello, everyone I got the following errors when compiling dsocksvr.pp, but there is already ssockets.o and ssockets.ppu under /usr/lib/fpc/1.0.7/units/linux/fcl: >>> dsocksvr.pp(26,23) Fatal: Can't compile unit SSOCKETS, no sources available <<< What's wrong with it? Thanks, m

[fpc-pascal]How to implement a minimum http server?

2003-02-17 Thread milimeter
Hello, everybody I want to use free pascal to implement the smallest http server which only response static html files compressed in a tar.gz file. How should I do? Give me some suggestions pls. Thank you. mili ___ fpc-pascal maillist - [EMAIL

[fpc-pascal]Error when compile the latest source

2003-02-17 Thread milimeter
Hello, everybody I can't compile the source from the latest cvs, the errors are as follows: make -C gtkgl all make[7]: Entering directory `/root/tmp/fpc/packages/extra/gtk/gtkgl' /root/tmp/fpc/compiler/ppc386 -XX -CX -Xs -OG2p3 -n -Fu/root/tmp/fpc/rtl/linux -Fu/root/tmp/fpc/packages/e