Replies: 1 comment
-
|
PUSH! Today a User on Discord talk about the PMDG737 MCP Displays.... So i remember to this request! It would be a plessure if this gonna be possible in the Transform ( where it is most logical to be located). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently a STRING Result in Transform occure in a Issue Warning.
For example a syntax like if($=0,12345,'HELLO') work fine if Value is "0" and result in 12345 BUT if Value is not 0 and the result should be "HELLO" it block the config.
Same Formula work fine in Compare !
After our Meeting yesterday Sebastian said he "think" that this have a good reason and would occure in trouble if we allow it.
I review this and not be sure if this is correct !
Fact 1:
After the Comparison Tab a Value can be a String without Problems. So all "behind" the Compare still work fine already.
Fact 2:
Also the Compare system itself can handle a "income" String Value already.... If we read a String Offset or a MF Variable with typ String then the compare is available there, and can handle it..... For example raw Value of a String is "alpha" we can say in Compare If current Value = alpha Then 1 else 2. No Problems.
So i think the "only" critical fact would be maybe the "Auto Truncate" behind the Transform line ( Where a Float Value is truncate into a full Integer) . Maybe not and finally there is no critical point left and it "would" work already if we allow it.
Benefit: More deepnes in Formula Syntax..... No need of Fake Values in Transform to Compare a blank 7Seg.
Disadvantage: Non if the Truncate is not a blocker ( and i not miss a other fact).
Recommendation..... Lets try it in the BETA ! . If truncate is a Prob may ´we can make a internal check..... IF Result of Compare is a INT or a FLOAT then remain current logic..... If not simply push it as a String to Compare ( Same way like in String Typ Configs )
Beta Was this translation helpful? Give feedback.
All reactions