In Scratch routine variables can't be returned and there is no way to set them to a different value, so that is irrelevant.
The routine block allows you to name an input variable, but not to then use it in a set block, and there's no return block at all.
You can't change it in Scratch, but you can I believe in byob.