On Wed, 10 Jan 2007, Sven Schreiber wrote:
I run the following command:
matrix weakexo = p4g_vecm_weakexo(endo, 2, 1, 3, 0, 0, rexo, 0, uexo)
...and yes, it's there:
? weakexo
weakexo
3.1524 1.0000 0.075816
6.2215 1.0000 0.012621
BUT when I run the script with the function definition p4g_vecm_weakexo
again (and nothing else!), the previous output disappears:
? weakexo
command 'weakexo' not recognized
The action of running a script clears out gretl's workspace.
I suspect it might be non-trivial to change that behaviour, though
this is something to think about.
However, you can "include" a file that defines a function without
the clearout effect.
Allin