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

Rainer Stratmann RainerStratmann at t-online.de
Mon Aug 6 23:46:29 CEST 2012


Am Monday 06 August 2012 23:36:10 schrieb Martin:
> 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?
yes, but they are most time immediately in s( 'snippet' );
> either
>    const t1 = 'abc';
> or
>    foo('text')
Foo I don't know by now. So guess I will not use it.

> and NEVER result of
> - a function snip := copy('aaa',1,2) or snip := foo();
> - any operation, such as concatenation: snip := s1+s2;
right.
>
> If the are: use the address of the first char in the snippet
?
But then I do not have a list of all caller adresses of s() which I try to 
get.



More information about the fpc-pascal mailing list