>> 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
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
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