Hi,
I have been working on this problem in Microsoft Flight Simulator 2004 for a couple of days and decided I should probably seek some help.
In the below code I am testing if the TOTAL WEIGHT > 136000 and TOTAL WEIGHT < 140001 then if both statements are true I want to assign the value 139 to the variable "v1." The problem is the output is "0." So, what is wrong with the below syntax? I can't see the problem, but I am not all that good at XML.
<!-- Sets V1 for Flaps 15 -->
<Element>
<Select>
<Value>
if{ (A:TOTAL WEIGHT,pounds) 136000 >
1 if{ (A:TOTAL WEIGHT,pounds) 140001 <
1 139 (>L:v1,knots)
}
}
</Value>
</Select>
</Element>
I have been working on this problem in Microsoft Flight Simulator 2004 for a couple of days and decided I should probably seek some help.
In the below code I am testing if the TOTAL WEIGHT > 136000 and TOTAL WEIGHT < 140001 then if both statements are true I want to assign the value 139 to the variable "v1." The problem is the output is "0." So, what is wrong with the below syntax? I can't see the problem, but I am not all that good at XML.
<!-- Sets V1 for Flaps 15 -->
<Element>
<Select>
<Value>
if{ (A:TOTAL WEIGHT,pounds) 136000 >
1 if{ (A:TOTAL WEIGHT,pounds) 140001 <
1 139 (>L:v1,knots)
}
}
</Value>
</Select>
</Element>








as it has both code-completion and ofc. syntax-highlighting.
