Hi,

the following is something I noticed when I tried to solve another problem:

<hansl>
function bundle bL(void)
    list L = 0
    return _(L)
end function

open denmark # just to have a dataset in place

eval typename(bL.L) # gives "null"

</hansl>

I can understand why that happens since a list in a bundle is tricky. The list L refers just to the constant term with index 0, but the when it is stuffed inside the bundle and returned to the outer scope it apparently is evaluated by its index number content, and the number 0 means "null" according to the typename() doc. Nevertheless, I doubt that that's the desired or supported result, or is it?

thanks

sven

_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

Reply via email to