On Sat, 15 Apr 2017, Sven Schreiber wrote:
Am 15.04.2017 um 16:07 schrieb Allin Cottrell:
>
> However... when I first tried this I thought I had replicated the problem
> you describe: kept on getting the "the error" even after correcting and
> saving the function script! Then I realized that there was an error in the
> caller that happened to "mimic" the deliberate one in the function script,
> in that the undefined symbol had the same name in each case. I wonder if
> that is what's happening in your case. That would explain the absence of
> any call-stack information in the error message.
That would explain it, but again: why would it then have worked without
changing anything after a gretl restart?
Sorry, don't know.
The whole thing is no big deal. But would you confirm that in theory
gretl
reads in file.inp every time that "include file.inp" is found? Or is there
some case like with gfn files where this isn't done (on purpose)?
The former: file.inp should always be read in when it's the argument
to "include" or "run", and it's a bug if that ever doesn't
happen.
Allin