Ternary conditional operator: Difference between revisions

Content deleted Content added
Line 95:
This ternary operator can also be used (though less commonly) in conditional [[Branch (computer science)|jump]] statements, as in the low-level programming language [[Linoleum (programming language)|Linoleum]]:
? ''logical comparison'' -> ''code label'';
Although the usage and format are different, it's is still a ternary operator (used as a conditional expression) because the three arguments come from the code label and from the two arguments in the logical comparison. (The <code>-></code> operator, which signifies an unconditional [[Branch (computer science)|jump]], takes the place of the <code>:</code> operator.) <!-- this doesn't really make sense -->
 
[[Category:Conditional constructs]]