[fpc-pascal]method pointers, design patterns, OP idioms etc.

V.Krishnakumar vkrish at vkrish.cjb.net
Wed Nov 27 10:00:10 CET 2002

Hi group !,

I'm a complete newbie (although I've been having the FPC tree for almost a 
year !). 

I've a few questions:

1. Is method pointers supported ? If so can anyone provide me with some 
examples of usage. 

2. web pointers to  idioms, design patterns etc. (I'm googling ....) In 
particular I'm looking for the observer pattern implementation without using 

3. I wrote a memory manager interface to the Boehm GC library. It compiled 
fine but crashed during the 'mark' phase of the collection. I think I can fix 
the problem by explicitly adding the root pointers for the collector for 
which I need to find the absolute addresses of the data and bss segments.
Anybody knows how to get this ? (the binutils generate labels __data_start and
__bss_start for C programs. But code generated by FPC only has __bss_start.)

Sorry for the long msg !,

thx in advance,

More information about the fpc-pascal mailing list