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

Sven Barth pascaldragon at googlemail.com
Mon Aug 6 22:10:02 CEST 2012

On 06.08.2012 21:48, Rainer Stratmann wrote:
>>>> Out of curiosity: why don't you use resourcestrings?
>>> It seems that is has not the flexibility and simplicity (in its entirety)
>>> that I want.
>> I would not call your method "simple"
> It may is in the beginning more difficult to implement, but if it runs once I
> would say this can not get much more simpler.
> You only have to put p1( ) around your text snippet. That is it!
> The function returns the right language.

Somehow this sounds like the GNU GetText function _() works. With the 
exception that the text which has to be translated is simply searched by 
looking through the source code for _("some text")...


More information about the fpc-pascal mailing list