ns_adp_bind_args var1 ?var2? ?...?
This function copies the arguments from the current ADP frame to the local variable names specified in var1, var2, etc. You must bind the same number of arguments in the ns_adp_bind_args function that were passed into the ADP. Attempting to bind any other number of arguments results in an error.
This function invokes the ADP in foo.adp
with two arguments, bar and baz:
ns_adp_include foo.adp bar baz
In foo.adp, the two arguments are bound as follows:
ns_adp_bind_args x y
The value "bar" is assigned to the variable x, and the value "baz" is assigned to the variable y.