NXSL:exit

From NetXMS Wiki
Revision as of 16:13, 13 September 2022 by AlexKirhenshtein (talk | contribs) (Text replacement - "^" to "{{deprecated}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Exit from script. This function never returns.


Syntax

exit(code);


Parameters

code Exit code (optional, 0 will be used by default).


Return Value

None.


Examples

 exit();    // exit with code 0
 exit(42);  // exit with code 42