Label

Labels a point in a task with a specific name. Can be used with the Goto action or On Error Goto to direct task execution to a different point of the task. This action does not have an effect on task execution, it only defines a point in a task. Please see, Goto Action for usage information.

Excessive use of Goto can create tasks that are difficult or impossible to debug. If your task requires more than a few Goto steps it is recommended to consider re-structuring with "Sub-tasks" (using the Start Task Action). In many programming languages, the use of even one Goto statement is considered bad programming practice. Use at your own risk!

Declaration

<AMLABEL LABELNAME="text">

See Also: If, If Compare Files, If Folder Exists, If Last Step, If Pixel Exists, If Process Running, If Text Contains, If Windows Exists, End If, End Select/Case, Goto, Select/Case, Else

General Tab

Property

Type

Required

Default

Markup

Description

Label Name

Text

Yes

(Empty)

LABELNAME="problemhandler"

The name of the label.