>>But declared in the outer scope not the inner
Yes, exactly, in that case I would have to do it like that. What you said would probably work if the declare would be inside I assume. In my case, all declarations are set at the beginning of each method in the declaration section.