A user (incuge pkg.gfn and open filename.extension provided)
encounters 2 independent namesets: the set of series names
and the set of package function names.
She can not control the both!
In the case of same names work of series(int_lag)
will be spoiled unintentionally, contrary to my examples.

So, non-prohibiting solution should be found.

25 жовтня 2018, 10:29:47, від "Sven Schreiber" <svetosch@gmx.net>:

Am 25.10.2018 um 08:38 schrieb oleg_komashko@ukr.net: 
series sin = normal()

Maybe gretl should be stricter in not allowing built-in function names as identifiers. (Again, I think that was discussed before with the conclucsion that it's not a problem per se.)

series y = sin(1)

# y is described as lag of 'sin' 

Good catch, this is the bug.

# but
# i.e. y is a constant series, its values are equal to sin(1)
This is expected I'd say.

BTW, here's something else:
series y = normal()
series y = y[-1]
...gives NAs (note the square brackets, on purpose). I think it should give an error.

Gretl-devel mailing list