You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, the following should return a Number.
alias acPowerAvailable = (L:ACPowerAvailable, bool);
alias toggleSwitch = (L:A32NX_RMP_#SIDE#_TOGGLE_SWITCH, bool);
alias pot = (A:LIGHT POTENTIOMETER:#POTENTIOMETER#, number);
(acPowerAvailable and toggleSwitch) * pot
Currently the above fails because bool * number is not allowed.
However, bool can be cast to a number when using unary operators.
The text was updated successfully, but these errors were encountered:
Certain expressions can be simplified by casting.
For example, the following should return a Number.
Currently the above fails because
bool * number
is not allowed.However,
bool
can be cast to a number when using unary operators.The text was updated successfully, but these errors were encountered: