End Loop Action Icon

End Loop Action

Declaration

</AMLOOP>

See Also

Loop, Loop Files, Loop Windows, Loop Processes, Loop Expression, Loop Dataset, Loop List, Break

Description

Marks the end of the block of steps that is to be looped by any of the Loop actions.

Practical Usage

Must be used with any loop step to mark the end of the block of steps that is to be looped.

Parameters

General Tab

No parameters.

Notes

Standard Error Handling Options
This action also includes the standard "Error Causes" and "On Error" failure handling options/tabs

More on Error Handling Options

Variables and Expressions
All text fields allow the use of expressions by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, a popup expression builder is available in all these fields by pressing F2.
More on variables...

More on expressions...

More on the expression builder...

Examples

<AMVARIABLE NAME="MYCOUNTER">
<AMLOOP FROM="1" TO="10" INDEX="MYCOUNTER">
  <AMMESSAGEBOX MESSAGETEXT="%MYCOUNTER%">
</AMLOOP>

<AMVARIABLE NAME="currentprocessname">
  <AMLOOPPROCESSES RESULTVARIABLE="currentprocessname" KEEPPATHS="NO">
    <AMMESSAGEBOX MESSAGETEXT="The current process is %currentprocessname%">
</AMLOOP>