Hello,

 

I am using Gretl 1.9.12cvs on WIN 8. Is there a way to pass a list series to a function? I used the following function declaration:

 

function void dplot(list lstDIV, string filetype, string strTitle[null], string strDisc[null])

                string ddat = varname(lstDIV[1])

                sprintf send "%s", date(firstobs(@ddat))

end function

 

but get this error

 

The symbol 'DQ_us' is undefined

*** error in function dplot, line 24

> sprintf send "%s", date(firstobs(DQ_us))

 

So I am able to pass the list but the individual series are not accessible? Anyway around this?

 

 

Thanks,

 

Logan