[Gretl-devel] scripting-related

Allin Cottrell cottrell at wfu.edu
Sun Jan 21 16:00:00 EST 2007


On Sun, 21 Jan 2007, Sven Schreiber wrote:

> Allin Cottrell schrieb:
>>
>> Which "mode" are you in when the printing of a matrix just by name
>> fails?  (That is, using "run" in the gretl console, or executing a
>> script directly, or calling a function package via the GUI, or...)
>
> It's in a function in a script that is called from another function in
> the same script, which in turn is called from the same script. No GUI,
> no console.
>
> Maybe I should mention, however, that the matrix 'beta_star' does not
> exist in this particular case...

Aha, that's it.  Here's the simplest failing case (complete 
script):

nulldata 10
if 0
   beta_star
end if

The thing is, we do need to examine lines that follow "if FALSE"
(at least, to see if they're "else" or "end if").  But we were 
examining a bit too closely.

Fixed in CVS.

Allin.




More information about the Gretl-devel mailing list