[ Previous ] [ Contents ] [ Index ] [ Next ]

ns_adp_bind_args

Overview

Bind ADP arguments to names

Syntax

ns_adp_bind_args ?arg1? ?arg2? ?...?

Description

This function binds the arguments passed in to the ADP to the argument names specified in arg1, arg2, 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.

Example

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.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.