AMError.StepNumber

Syntax:

%AMError.StepNumber%

Type:

Number

Description: Returns the step number that caused the error.

Example:

<AMRUN AM_ONERROR="CONTINUE" FILE="BogusFile.exe" />
<AMSHOWDIALOG WINDOWTITLE="ERROR ">The 
 step number that generated the error:
%AMError.StepNumber%.
</AMSHOWDIALOG>