ns_adp_eval

Evaluate an ADP.

Syntax

ns_adp_eval ?-parser parser? page ?arg ... ?

Description

This function evaluates the ADP specified by page and returns the output as the result. If any arguments are specified, they will be passed to the ADP.

If the -parser switch is specified, the ADP is evaluated using the specified parser. You can specify one of the pre-defined parsers, "adp" or "fancy", or an alternate parser that you have registered with the Ns_AdpRegisterParser C API function. By default, the parser specified by the DefaultParser parameter is used. If no DefaultParser is specified, the "adp" parser is used.