On Sun, Jun 16, 2024 at 3:49 AM Sven Schreiber
<sven.schrei...@fu-berlin.de> wrote:
>
> 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>

"bL" is the name of a function, not a bundle, so "bL.L" is a nonsense
string. Is the following what you meant to write?

bundle b = bL()
eval typename(b.L)

That gives "list".

Allin
_______________________________________________
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