Ns adp exception

From AOLserver Wiki
Revision as of 21:30, 15 February 2005 by WikiSysop (talk | contribs) (imported from WiKit id 864)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ns_adp_exception ?state?

This function is used to examine the current ADP exception state. The function returns 0 if the exception state is ok and 1 otherwise.

If the optional state argument is passed, a vari- able with that name will be set for the caller, and will contain the exception state with one of the following possible values:

  • ok
ADP was evaluated successfully
  • overflow
Stack overflow occurred. This might happen, for example, if there was a recursive call to ns_adp_include.
  • abort
An attempt to debug failed or ns_adp_abort was called.
  • break
ns_adp_break was called
  • unknown
Unrecognized exception status. This should not occur.