Component Go to label

:icons:font :hardbreaks: :imagesdir: ../../../assets/images :toc-title: Contents :toc:

Description

Transfers control to a detached branch in the current script, starting with component Label. A specific component is selected based on the dynamic match between the Label property values of it and the current component. The property can be specified by a constant and an argument. Does not involve returning control to the call point. :description1: This allows you to split the script into regions with simple algorithms and eliminates the need to copy groups of components, call nested scripts, and stretch long transition branches.

For parameterization, the value of an arbitrary variable can be set directly in the component. The assigned value is argument. A type conversion mechanism is used if the types of the argument value and the variable do not match. Allows assignment of values to multiple variables.

Table 1. System characteristics

Index

150

Short name

goto

Script types

All

Start module

era_script_component_goto

Mode

Synchronous

Icon

150

Branching type

Non-branching

Properties

Table 2. Properties
Specification Description

Name: Label

Code: label

Visibility condition: no

Default: — 

Argument based on the value of which the label (component with the same value) is searched.

Name: Variable

Code: variable

Visibility condition: yes Default: — 

Variable - destination for assignment operation.

Name: Meaning

Code: value

Visibility condition: yes

Default: — 

Argument supplying the value for the assignment operation.

See also