extern printd(x);

def f(x)
    for i = 0, i<x in
    	printd(i)
;

f(10);
f(0);
