User defined functions in awk

Hi;
Is der ne to to use user defined functions for the values in awk

find $1 -type f -ls | nawk '{{print "|"$3"|"$5"|"$6"|"$8"|"$9"|"$10"|"} for(i=11;i<=NF;i++){printf("%s",$i)}}'

In above command i want to append some values returned by user functions on line.

thnks;
ajay

Not sure what you mean.

You can pass values to awk and then you can use them inside.

something like this:

 
awk -v v1=function_return '{ use here v1 }' input_file

If it does not help, please post sample input and expected output.