Dear Gretl Team,

I would like to know if there exists a way to use "dataset" command inside a function. Please take a look at my code:

<hansl>
open australia.gdt

function list anualizar(series x)
    dataset compact 1 last
end function

eval anualizar(PAU)
</hansl>

Best,
Henrique Andrade