ternary

<programming>

A description of an operator taking three arguments. The only common example is C's ?: operator which is used in the form "CONDITION ? EXP1 : EXP2" and returns EXP1 if CONDITION is true else EXP2. Haskell has a similar "if CONDITION then EXP1 else EXP2" operator.

See also unary, binary.

Last updated: 1998-07-29

Nearby terms:

term rewriting systemTerms Of Serviceternaryterpriterrabyte

Try this search on Wikipedia, Wiktionary, Google, OneLook.



Loading