Am 04.01.2021 um 13:09 schrieb Artur Bala:
> Sorry, a question to Artur: of course, Sven solution
is perfectly ok,
> but... why would you need to do this?
> Oops, not sure I could
convincingly argue for this :) but my feeling is
> that when one enters a séries name in a function he/she expects to get
> back the same name to référ to. Probably the use of '*' may be a
> solution to that...
No, the pointer form doesn't change the name inside the function. In
fact, how could you write your function if you didn't know under what
identifier the input could be referenced? That's the whole point of
modularized code, that you don't have to care about the names in the
But I do understand what you mean. In a different context gretl has a
mechanism to change the display name, namely through 'setinfo <series
--graph-name=<displaystring>'. I guess you want to
have something like
that for the printout in models. The problem is (I think) that so much
code would have to be changed for all the possible estimation commands.
So why not just copy the series and be done...