Difference between revisions of "ERRORLEVEL()"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Helengeorge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Return or set an exit value | Return or set an exit value | ||
Line 25: | Line 23: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Error Handling and Debugging]] | [[Category:Error Handling and Debugging]] | ||
[[Category:Error Handling and Debugging Functions]] | [[Category:Error Handling and Debugging Functions]] |
Latest revision as of 17:06, 27 November 2009
Purpose
Return or set an exit value
Syntax
ERRORLEVEL([<expN>])
See Also
Description
The ERRORLEVEL() function is used to return or set the exit value of a program. The <expN> is the error level setting that will be returned to the operating system when QUIT is executed. When no level is specified, ERRORLEVEL() returns the current setting. This function is useful for setting up serial program execution.
Example
oldlevel = errorlevel(10) quit
Products
Recital Server, Recital