Hi there,

in this little function 'zeromiss' is applied to a list and a new list is returned.
Ok so far, but it is possible to overwrite the already existing series or to apply the original labels to the new series?

<hansl>
function list zeroNA(list variables)
list X = null 
loop foreach i variables -q
    series $i = zeromiss(variables.$i)
    X+= $i
endloop
return X
end function
 <hansl>

Best
Leon