Statements
Statement - Break
Breaks the execution of the current task if the condition is true.In case the tool is inserted in a loop, the loop is interrupted as well.The tool cannot break the Thread init,loop or finalize task.
IN
| Name | Type | Description |
|---|---|---|
| InCondition | Bool | Condition to evaluate before breaking the execution. If the condition is false, the execution will continue. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
Statement - Continue
Continues the execution of the current task if the condition is true and proceeds with next iteration.It is intended to be used within loop constructs.
IN
| Name | Type | Description |
|---|---|---|
| InCondition | Bool | Condition to evaluate before breaking the execution. If the condition is false, the execution will continue. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
Statement - Throw
Raises an exception with provided error code and message.For predefined error codes use 'Throw_FromErrorCode'.
IN
| Name | Type | Description |
|---|---|---|
| InErrorCode | Int | Error code to identify the type of error (must be > 0).This code can be used in error handling blocks to catch specific exceptions.For a predefined error code use 'Throw_FromErrorCode'.The range value for a user custom error is 〔9000...9999〕. |
| InMessage | String | Error message to provide details about the exception. This message can be used in error handling blocks to get more information about the exception. |
| InCondition | Bool | Condition to evaluate before throwing the exception. If the condition is false, the exception will not be thrown and the tool will continue its execution. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
Statement - Throw_FromErrorCode
Raises an exception with predefined error code and message
IN
| Name | Type | Description |
|---|---|---|
| InErrorCode | Enum < ErrorCode > | Error code to identify the type of error from predefined values.If the value is set to 'NoError' the exception is not raised.This code can be used in error handling blocks to catch specific exceptions. |
| InMessage | String | Error message to provide details about the exception. This message can be used in error handling blocks to get more information about the exception. |
| InCondition | Bool | Condition to evaluate before throwing the exception. If the condition is false, the exception will not be thrown and the tool will continue its execution. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|