Have you ever wanted to use local variables inside a Scratch function or procedure? Well, here's a easy way to do that - look inside the code for an example. You just push any variables on to a stack at the start of the procedure and restore them at every place where you exit from it.