[Gretl-devel] Re: [Gretl-users] error with null list

Sven Schreiber svetosch at gmx.net
Fri Jan 5 12:35:06 EST 2007


Sven Schreiber schrieb:
> [I'm now subscribed to gretl-devel]
> 
> Allin Cottrell schrieb:
> 
>> I do see "include" as problematic (since that's designed for importing
>> function definitions), but "run" is not so bad.  In current CVS you can
>> invoke "run" inside functions (though this is not much tested).
> 
> Wow, that's great, I will test!

This works like a charm for me! Tested with 'matrix' and 'print'
commands in the file which is run. Very cool, now everything fits together!


Of course this immediately leads to new questions: Is it possible to
return more than one matrix from the function? I tried to adapt section
10.2 of the user guide, but only got error messages.

(e.g. for "return matrix b1, matrix b2" I got the message 'variable name
contains invalid characters')

thanks and have a good weekend,
sven



More information about the Gretl-devel mailing list