function f(n) { while (n < 10) { print n n = n + 1 } } function g(n) { print "g", n } { f($1); g($1); print n }