Conditional Operators : Meter Width Variables
Posted: March 2nd, 2019, 5:14 pm
Could someone explain to me what is wrong with this code? It does not give either 20 or 10 ([Meter1:W] and [Meter2:W] respectively).
Code: Select all
[WidthCalc]
Measure=Calc
Formula=([Meter1:W] < [Meter2:W] ? [Meter1:W] : [Meter2:W])
[Meter1]
Meter=String
W=20
[Meter2]
Meter=String
W=10
[Result]
Meter=String
SolidColor=1
FontSize=30
Text=[WidthCalc]