Newer
Older
zweic / tests / 5 / antoineyersion / recursive_functions(8).zwei
@glproj03 glproj03 on 6 Feb 2006 278 bytes compiler working!
//#isut
class A 
{
	Int a1;
	Int a2;
	Null recfoo(Int a)
	{
		printInt(a);
		printChar(32);
		if(a > 0) {
			this.recfoo(a-1);
		};
		printChar(32);	
		printChar(40); printInt(this.a1); printChar(59); printChar(32); printInt(this.a2); printChar(41);	
	}
}

new A(1,2).recfoo(10)