On Wed, 8 Feb 2006, Riccardo Jack Lucchetti wrote:
One thing I often overlook is the fact that, as things stand now,
you can't define a function twice; to be more explicit: suppose
you have a file func.inp, which contains a function, and a file
main.inp, which calls the function via an "include" command. The
first time you run "main" everything should work. The next time,
you get an error because the second call to "include" makes gretl
think you're defining a function whose name is already taken. The
solution I use is to put a "clear" statement before the function
definition...
I wonder if we ought to get rid of that annoyance -- that is, to
permit the redefinition of functions without error.
Allin.