printf and line break in the console
                                
                                
                                
                                    
                                        by Sven Schreiber
                                    
                                
                                
                                        Hi,
just a minor thing: when you use 'printf' in the console and don't add 
an \n explicitly, the following prompt "?" does not appear on a new 
line. Perhaps it should?
cheers
sven
                                
                         
                        
                                
                                1 year, 5 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        undated data and change dataset frequency
                                
                                
                                
                                    
                                        by Sven Schreiber
                                    
                                
                                
                                        Hi again,
shouldn't the menu entries for the data frequency change be greyed out 
for undated datasets? They're not (always), apparently.
thanks
sven
                                
                         
                        
                                
                                1 year, 5 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        "incompatible options" with ADF test
                                
                                
                                
                                    
                                        by Sven Schreiber
                                    
                                
                                
                                        Hi,
I'm seeing the following via the GUI and via commands:
<hansl>
open australia
adf 3 PAU --nc --c --ct --ctt    # error
</hansl>
Omitting either the --nc or the --ctt switch makes it work. Of course 
these options are "incompatible", but so are the other options, and to 
my understanding the feature of the adf command was that several specs 
could be done in one go.
This is the latest snapshot.
thanks
sven
                                
                         
                        
                                
                                1 year, 5 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        why does this matrix/series mishmash work?
                                
                                
                                
                                    
                                        by Sven Schreiber
                                    
                                
                                
                                        Hi,
I've come across a strange piece of code which goes more or less like this:
<hansl>
open denmark
matrix M = zeros($nobs,2)
series M[1,] = ones(1,2)
print M
</hansl>
Note the "series" specifier in the third line. I would have expected an 
error there, but this works with the same result as if "matrix" were 
given there. (Or nothing.) This is with gretl 2024b.
So what's the point? I think a type mismatch error would be the right 
thing for a statically typed language like hansl.
thanks
sven
                                
                         
                        
                                
                                1 year, 5 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        stricter options syntax for "plot" in 2024a?
                                
                                
                                
                                    
                                        by Sven Schreiber
                                    
                                
                                
                                        Hi,
I'm puzzled by the fact that the sample script of the LocalProjection 
package produces an error "invalid option --time-series". And indeed 
that option is appended to a "plot" command, which is not supported as 
per the doc.
However, the package was moderated in August, and I'm assuming that the 
sample script ran fine at that time. So, has something changed in gretl 
since then? (Either 2024a, or 2023c, or post-2024a.) Or actually, I tend 
to think that it still worked around March or so.
Again, the syntax in the package does not adhere to the (currently) 
documented standards. But should it be tolerated, and if not, perhaps 
other code is affected as well?
thanks
sven
                                
                         
                        
                                
                                1 year, 5 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        Pasting a line in the console with a line break at the end
                                
                                
                                
                                    
                                        by Sven Schreiber
                                    
                                
                                
                                        Hi,
when pasting any kind of content into gretl's console, but with a line 
break at the end, and then hitting return, gretl just ignores it and 
presents a new prompt sign ("?").
This is of course no big deal, but for consistency I would expect one of 
the following behaviors:
1) Either the newline at the end is interpreted as "Return", and so the 
evaluation of the input happens (including error messages if appropriate).
2) Or the input with the newline is considered to be wrong anyway, and 
so the corresponding error message would show up.
thanks
sven
                                
                         
                        
                                
                                1 year, 6 months