Hi,
In the following code (as a simplified example), how do I retrieve the name of the series Y so as the OLS output shows the actual name of the variable instead of  just "Y"? I use the "varnames()" for the X-list variables names  but couldn't come out with something feasible for Y

<\hansl
function matrix m (series Y , list X )
ols Y X
end function
<hansl>

Best,
Artur