apply a function twice successively with the same input in awk program

view story

http://www.unix.com – Hi ! It is a general question. When an awk script looks like: Code: #! bin/awk function example(i){         <body> } {     example(1)          #the function uses input_1 and return output_a        } {     example(2)          #the function uses previous output_a as an input and returns output_b }1 How can I tell the program to use the same input for both times I use the function and not using the output of the first invocation as input for the second inv (HowTos)