XenoGuard 4.0 Documentation

Equals

ActionStep Reference » Programming » String Operation » Comparison » Equals 

The ActionStep Equals compares a string value is similar to another string value and stores the Boolean value in Result of the result list. 

[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. Open the String Operation node.
  3. In the Comparison node, select the Equals ActionStep.

Parameters:

The ActionStep has the following input parameters:


name Description
String The string to be compared.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Equals
The string to be used for comparing.

Allowed Context Scopes
[Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]

Results:

The ActionStep returns the following results:


name
description
Result Contains the Boolean value after comparing the strings

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter]

Example 1 (Compare the string value of two variables):

This example determines if the string value of the local MD5 Hash 1 and MD5 Hash 2 variables are the same. The boolean result is then passed to the If flow control statement and checks if the value is "True". The result is then output via Message Box.

See other Comparison operations:

Starts with
Ends with