On Sun, 16 Jun 2024, Sven Schreiber wrote:
So, is there another technique which can be used to put a series inside a bundle as a 1-element list, surviving the transfer from the function scope to the outer scope?
Yes, if you can pass the input series as a "const" argument. <hansl> function bundle bundle_from_series (const series y) list L = y return _(L) end function open denmark print LRM bundle b = bundle_from_series(LRM) eval b.L eval b.L[1] </hansl> Allin _______________________________________________ Gretl-users mailing list -- gretl-users@gretlml.univpm.it To unsubscribe send an email to gretl-users-le...@gretlml.univpm.it Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/