


For example, Color is an enumeration that has pre-defined values for Color.Red, Color.Blue, and so forth. Enumerations return a pre-defined constant value.Signals don't take parameters or have side effects. For example, Location returns the device's current GPS coordinates.

Signals return information about the environment.Some functions have side effects, such as SubmitForm, which are appropriate only in a behavior formula such as Button.OnSelect. Functions are modeled after Microsoft Excel functions. Functions take parameters, perform an operation, and return a value.
