AMError.ErrorNumber

Syntax:

%AMError.ErrorNumber%

Type:

Number

Description: Returns the unique error number associated to the error that occurred.

Example:

<AMRUN AM_ONERROR="CONTINUE" FILE="BogusFile.exe" />
<AMSHOWDIALOG WINDOWTITLE="Error Number">Error 
Number - %AMError.ErrorNumber%</AMSHOWDIALOG>