Re: [fpc-pascal] random question

2010-06-04 Thread Graeme Geldenhuys
On 4 June 2010 15:19, spir wrote: > -1- class wrappers > Are there in stock implementations of class wrappers for primitive types: > such as TInteger, TString, etc? (that would for instance just hold a .value > attr and delegate operations to builtin funcs or procs) This would save me > some wor

Re: [fpc-pascal] random question

2010-06-04 Thread Vladimir Zhirov
> by declaring the property and pressing Ctrl+C Sorry, I meant Ctrl+Shift+C -- Regards, Vladimir Zhirov ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] random question

2010-06-04 Thread Vladimir Zhirov
spir wrote: > -2- [] operator > How to implement a class that manages this operator (did not find it > in the operator overloading section). Pointer welcome (including to > the implementation of eg TFPList). It seems default properties is what you are looking for. >> type >> TMyClass = class >>

Re: [fpc-pascal] random question

2010-06-04 Thread Jonas Maebe
On 04 Jun 2010, at 15:22, Michael Van Canneyt wrote: On Fri, 4 Jun 2010, spir wrote: -1- class wrappers Are there in stock implementations of class wrappers for primitive types: such as TInteger, TString, etc? (that would for instance just hold a .value attr and delegate operations to

Re: [fpc-pascal] random question

2010-06-04 Thread Michael Van Canneyt
On Fri, 4 Jun 2010, spir wrote: Hello Pascaleers, -1- class wrappers Are there in stock implementations of class wrappers for primitive types: such as TInteger, TString, etc? (that would for instance just hold a .value attr and delegate operations to builtin funcs or procs) This would save

[fpc-pascal] random question

2010-06-04 Thread spir
Hello Pascaleers, -1- class wrappers Are there in stock implementations of class wrappers for primitive types: such as TInteger, TString, etc? (that would for instance just hold a .value attr and delegate operations to builtin funcs or procs) This would save me some work :-) -2- [] operator Ho