On Fri, 14 Apr 2017, Sven Schreiber wrote:
Hi,
could it be (Apr 11th snapshot) that gretl isn't always re-reading/re-loading
functions from included scripts that have been edited?
I got a (correct) error message about 'N' being undefined, then I inserted a
definition for N (in the external function/script), but I still get the same
error message. I made sure to set my working directory to the one where these
scripts all live.
BTW, I also noticed that in this case gretl didn't spit out the nested
hierarchy of functions called before getting to the error, as it usually
(sometimes?) does.
Not reloading the file is unlikely.
I think it's more plausible that you have two copies of the same file in
different locations. Commands like "open", "include" etc follow some
heuristic rules in order to pick the directory you most likely mean, and
it could well be that the file you're including is not the one you've
edited.
If my guess is correct, specifying the full path of your file should solve
the problem.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------