Trading returning from a void function for goto.