Tcl API Reference -- ns_adp_return

### ns_adp_return

#### Overview

Stop processing of ADP and flush all output

#### Syntax

ns_adp_return ?return_value?

#### Description

This function aborts processing of the ADP file and sends any pending output (from ns_adp_puts or static HTML) up to the point where it was called to the browser. Nothing is output or executed after it is called.

The return_value, if specified, becomes the return value of the ADP.

Note that this function returns only one level up the call stack. To return all the way up the call stack, use ns_adp_break.

Top of Page
Copyright © 1998-99 America Online, Inc.