New scope solution

2 posts were split to a new topic: Side discussion on gotos