AVOLITES TITAN API

IfEqualElse

Compares the objects and . If the objects are equal the property, , is set to , otherwise the property is set to .

Namespace: ActionScript.Test

Syntax

MACRO

Void IfEqualElse(System.Object, System.Object, System.String, System.Object, System.Object)

HTTP

http://[ip]:4430/titan/script/ActionScript/Test/IfEqualElse

Parameters

compare1: The first value to compare.

compare2: The second value to compare.

result: The output property id.

trueResult: The value to set the property to if the values are equal.

falseResult: The value to set the property to if the values are not equal.