ternary operator
Dan Bishop
danb_83 at yahoo.com
Sat Feb 8 15:37:35 EST 2003
Andrew Koenig <ark at research.att.com> wrote in message news:<yu99smuyaiyd.fsf at europa.research.att.com>...
> Dennis> Similar for
>
> Dennis> or
> Dennis> vs
> Dennis> or else
>
> Indeed -- this is the best evidence that Ada is the result of a military
> project. In what other language is "or else" an operator?
Babbage (http://www.tlc-systems.com/babbage.htm) uses it as a
"conditional threat" ("Add these two numbers OR ELSE!").
But if you meant whether there's an "or else" in a language that
people actually program in, I don't know of any.
More information about the Python-list
mailing list