- Messages
- 19
- Country

Hi all
Sorry I am feeling so dumb but cannot work out simple code to find highest value of 3 SimVars
I have a really long and cumbersome if code below which doesn't seem to work
<Code>
(A:TURB ENG ITT:1, celsius) > (A:TURB ENG MAX TORQUE PERCENT:1, percentage)
(A:TURB ENG ITT:1, celsius) > (A:TURB ENG N1:1, percent)
and
if{ (A:TURB ENG ITT:1, celsius) }
or if{ (A:TURB ENG MAX TORQUE PERCENT:1, percentage) > (A:TURB ENG ITT:1, celsius)
(A:TURB ENG MAX TORQUE PERCENT:1, percentage) > (A:TURB ENG N1:1, percent)
and
} if{ (A:TURB ENG MAX TORQUE PERCENT:1, percentage) }
els{ (A:TURB ENG N1:1, percent) }
</Code>
Can anybody suggest a nice neat way of using the highest value of 3 SimVars? All values present a value between 0 and 100
thanks in advance!
Sorry I am feeling so dumb but cannot work out simple code to find highest value of 3 SimVars
I have a really long and cumbersome if code below which doesn't seem to work
<Code>
(A:TURB ENG ITT:1, celsius) > (A:TURB ENG MAX TORQUE PERCENT:1, percentage)
(A:TURB ENG ITT:1, celsius) > (A:TURB ENG N1:1, percent)
and
if{ (A:TURB ENG ITT:1, celsius) }
or if{ (A:TURB ENG MAX TORQUE PERCENT:1, percentage) > (A:TURB ENG ITT:1, celsius)
(A:TURB ENG MAX TORQUE PERCENT:1, percentage) > (A:TURB ENG N1:1, percent)
and
} if{ (A:TURB ENG MAX TORQUE PERCENT:1, percentage) }
els{ (A:TURB ENG N1:1, percent) }
</Code>
Can anybody suggest a nice neat way of using the highest value of 3 SimVars? All values present a value between 0 and 100
thanks in advance!
