Reverse Polish Notation

From FSDeveloper Wiki
Revision as of 12:20, 11 December 2021 by Mr LiamT (talk | contribs) (Add an example section)
Jump to navigationJump to search

Reverse Polish Notation, or RPN, is a way to write down formulas. It is used in MSFS for gauges, model behaviors, and in mission scripts for PropertyTriggers, ProximityTriggers, and Calculators.

The documentation on RPN thoroughly explains how it works.

Examples

Changing a variable

You can change a variable with RPN code in a Calculator or Execute RPN Action.

1800 (>X:VariableToChange)

This example changes the variable VariableToChange to 1800.