Feedback
Add If() conditional expression
- Status
- Fixed
- Fixed in
- v26.6.4
- Source discussion
- https://forum.objo.dev/d/369-other-if-control-flow/2
- Last updated
- 2026-06-15
Public summary
Add an expression-level conditional operator using BASIC/Xojo-style syntax: If(condition, trueResult, falseResult). This lets developers choose between two values in a single expression while preserving short-circuit evaluation, so only the selected result branch is evaluated.