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 ActionScript.Test.IfEqualElse(Object compare1, Object compare2, String result, Object trueResult, Object falseResult)

HTTP

http://[ip]:4430/titan/script/2/ActionScript/Test/IfEqualElse?compare1={}&compare2={}&result={string}&trueResult={}&falseResult={}

Parameters

compare1 ( Object ) : The first value to compare.

compare2 ( Object ) : The second value to compare.

result ( String ) : The output property id.

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

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