Please enable JavaScript to view this site.

ESL Documentation

Action Inquiry Built-in Function

Return whether an external subroutine call, start, or send statement succeeded.

errorlevel

Description

errorlevel is an integer function. Its value is 0 if there was no error; otherwise an error code is returned.

Example

 

response to start

 start local AppName "app.exe"

 if (errorlevel > 0) then

         ... # An error has occurred

 end if

See Also

send Action Statement

start Action Statement