(condition) ? (return if true) : (return if false)
The nearest syntax in APL+Win is:
- Code: Select all
⍬⍴(condition↓falseValue),truevalue
Works fine, as is; except that in C#, the argument following ? (or can be another ?: operator statement (which can also include another ?: operator, etc.)
Can APL+Win implement the ?: operator within the interpreter?