Re: [fpc-pascal] question about class

2010-05-14 Thread Andrew Hall
>> Do i need to explicitely name self as param? self is a reserved keyword which represents the reference to the object of context (much the same as using "result" in a function) - it is understood by the compiler and does not need to be specified. >> Is self actually a pointer? If yes, do I nee

Re: [fpc-pascal] question about class

2010-05-14 Thread David Emerson
I'm no expert so these answers may be a bit off, but I figure any help is nice during US business hours... > Are there somewhere more or less pedagogic examples of class code? I've never found any. I've learned largely by studying (and occasionally fixing) fpgui code. > *self* > Do i need to

[fpc-pascal] question about class

2010-05-14 Thread spir ☣
Hello, I'm trying to transform a manually implemented type, with pseudo-method as funcs/procs, into an fpc "class" type; and facing numerous issue: namely 3 whole pages of compiler errors ;-). Are there somewhere more or less pedagogic examples of class code? *self* Do i need to explicitely nam

Re[6]: [fpc-pascal] TAP-Win32

2010-05-14 Thread José Mejuto
Hello FPC-Pascal, Friday, May 14, 2010, 1:34:08 PM, you wrote: JAGdFJ> i am able to receive packets setting up a tap device with a fixed ip JAGdFJ> and doing ping to the gateway address... JAGdFJ> now i need to decipher the ioctl calls... Sorry, I can not help more, I had never used TAP and even

Re: Re[4]: [fpc-pascal] TAP-Win32

2010-05-14 Thread Jorge Aldo G. de F. Junior
Uses Windows, Classes, BlckSock; Const TAP_Device = '\\.\Global\{44F7688F-77FA-43DC-8D8F-9CBA23E01BB0}.tap'#00; TAP_Buffer = 8192; Var Handle : Integer; Buffer : Pointer; Stream : THandleStream; Count : Integer; Beg

Re: [fpc-pascal] FPC not mentioned on JSON website?

2010-05-14 Thread Michael Van Canneyt
On Fri, 14 May 2010, Jonas Maebe wrote: On 14 May 2010, at 09:51, Michael Van Canneyt wrote: On Fri, 14 May 2010, Graeme Geldenhuys wrote: If fcl-json is feature complete, then I don't mind emailing the JSON website myself, that is not an issue at all. What is feature complete ? I sup

Re: [fpc-pascal] FPC not mentioned on JSON website?

2010-05-14 Thread Jonas Maebe
On 14 May 2010, at 09:51, Michael Van Canneyt wrote: > On Fri, 14 May 2010, Graeme Geldenhuys wrote: > >> If fcl-json is feature complete, then I don't mind emailing the JSON >> website myself, that is not an issue at all. > > What is feature complete ? I suppose supporting everything defined

Re: [fpc-pascal] FPC not mentioned on JSON website?

2010-05-14 Thread Michael Van Canneyt
On Fri, 14 May 2010, Graeme Geldenhuys wrote: On 14 May 2010 09:48, Michael Van Canneyt wrote: I guess because the 'weight' of a developer is higher than the weight of a user :-) That too. :) So Michael, as a FPC team member, would you mind doing the honors. You probably know a lot more a

Re: [fpc-pascal] FPC not mentioned on JSON website?

2010-05-14 Thread Graeme Geldenhuys
On 14 May 2010 09:48, Michael Van Canneyt wrote: > > I guess because the 'weight' of a developer is higher than > the weight of a user :-) That too. :) So Michael, as a FPC team member, would you mind doing the honors. You probably know a lot more about fcl-json that I do (I never used it before)

Re: [fpc-pascal] FPC not mentioned on JSON website?

2010-05-14 Thread Michael Van Canneyt
On Fri, 14 May 2010, Graeme Geldenhuys wrote: On 14 May 2010 09:29, Tomas Hajny wrote: Is there a reason why you can't do it yourself? The reason I said somebody from the FPC team is because maybe there is a "unknown to me" reason why fcl-jason is not listed on the JSON website. I don't us

Re: [fpc-pascal] FPC not mentioned on JSON website?

2010-05-14 Thread Graeme Geldenhuys
On 14 May 2010 09:29, Tomas Hajny wrote: > > Is there a reason why you can't do it yourself? The reason I said somebody from the FPC team is because maybe there is a "unknown to me" reason why fcl-jason is not listed on the JSON website. I don't use JSON (never have), so I don't know if it is feat

Re: [fpc-pascal] FPC not mentioned on JSON website?

2010-05-14 Thread Michael Van Canneyt
On Fri, 14 May 2010, Tomas Hajny wrote: On Fri, May 14, 2010 09:16, Graeme Geldenhuys wrote: Hi Graeme, Can somebody from the FPC team contact the JSON website [http://www.json.org/] so that they can list Free Pascal Compiler's fcl-json package under Delphi/Object Pascal section. No need

Re: [fpc-pascal] FPC not mentioned on JSON website?

2010-05-14 Thread Tomas Hajny
On Fri, May 14, 2010 09:16, Graeme Geldenhuys wrote: Hi Graeme, > Can somebody from the FPC team contact the JSON website > [http://www.json.org/] so that they can list Free Pascal Compiler's > fcl-json package under Delphi/Object Pascal section. > > No need to leave FPC out of the list - consid

[fpc-pascal] FPC not mentioned on JSON website?

2010-05-14 Thread Graeme Geldenhuys
Hi, Can somebody from the FPC team contact the JSON website [http://www.json.org/] so that they can list Free Pascal Compiler's fcl-json package under Delphi/Object Pascal section. No need to leave FPC out of the list - considering the other obscure names in that list. We should promote FPC where