I ran across a code block with the structure below. The first if statement strikes me as odd. While I guess the code works as intended, is there some advantage that makes using the first if statement a better choice than a simple and statement like (A:ELECTRICAL MAIN BUS VOLTAGE,Volts) 3.0 > and ?
Thx,
Al
Thx,
Al
Code:
<Element>
<Select>
<Value>
(L:Var1,bool)
(L:Var2,bool) or
(L:Var3,bool) or
if{ (A:ELECTRICAL MAIN BUS VOLTAGE,Volts) 3.0 > }
if{ 1 (>L:Var4,Bool) } els{ 0 (>L:Var4,Bool) }
</Value>
</Select>
</Element>

