[fpc-pascal] Get all caller adresses of a procedure/function

Martin lazarus at mfriebe.de
Mon Aug 6 23:36:10 CEST 2012

On 06/08/2012 21:57, Martin wrote:
> I am still trying to understand what exactly you try to archive.

Ok, I read one of the other posts: Do you need to ensure to handle each 
snippet only once?

Are *ALL* snippets constants?
   const t1 = 'abc';

and NEVER result of
- a function snip := copy('aaa',1,2) or snip := foo();
- any operation, such as concatenation: snip := s1+s2;

If the are: use the address of the first char in the snippet

More information about the fpc-pascal mailing list