int i;
int plus1( int b; ) 
	begin
		int c;
		c = b + 1;
		return c;
	end
void inc( var int a; ) 
	begin
		int c;
		c = a;
		a = plus1( c );
	end
for i = 0; i < 10; inc( i ) do
	println( i );
end
