1*e6d6c189SCody Peter Mello BEGIN { # foo[10] = 0 # put this line in and it will work 2*e6d6c189SCody Peter Mello test(foo); print foo[1] 3*e6d6c189SCody Peter Mello test2(foo2); print foo2[1] 4*e6d6c189SCody Peter Mello } 5*e6d6c189SCody Peter Mello 6*e6d6c189SCody Peter Mello function test(foo) 7*e6d6c189SCody Peter Mello { 8*e6d6c189SCody Peter Mello test2(foo) 9*e6d6c189SCody Peter Mello } 10*e6d6c189SCody Peter Mello function test2(bar) 11*e6d6c189SCody Peter Mello { 12*e6d6c189SCody Peter Mello bar[1] = 1 13*e6d6c189SCody Peter Mello } 14