function foo(x) { if (x == int(x)) return (int(x) != 0) } BEGIN { foo(P["bar"]) }