return doesn't work with voids. (void means that nothing gets returned)
use function instead:
Code:
function foo2() {
	return;
}

function foo() {
	return foo2();
}

function main() {
	foo();
}


Last edited by Kartoffel; 11/02/12 22:35.

POTATO-MAN saves the day! - Random