Expression Editor

From Mario Fan Games Galaxy Wiki
 Stub.png This article or section is in need of expansion.

Please add further information.

Expression Editor as seen in MMF2; this Expression Editor compares two values.

The Expression Editor is the editor in which expressions are input. There are actually different Expression Editor designs that appear, depending on which type of expression is required. However, all Expression Editor forms share the same basic buttons. These buttons allow quick access to common functions, such as number and operator keys, conversion functions, and the like. There are two special buttons: Retrieve data from an object and Check current expression. Retrieve data brings up a dialog which the programmer can use to find expressions for any of the objects in the frame (expressions for the default objects can be found here). Check expression checks the selected expression for syntax errors; this is automatically done if the OK button is pressed. The changes in the Expression Editor can't be committed unless the expression(s) is free of errors. With the dual-expression comparison Editor shown, both expressions must return the same data type (string or number), and their return types must be what is expected by the condition or action, to be valid.