Wouldn't it be better to specify what kind of block you are running instead of
function, procedure or anonymous block ?
It is correct, but maybe too long.
Generally, there is a term "routine" as a synonym for "function, procedure or any stored procedure code", but I am not sure how much is accepted by the community