<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On Fri 05/02/2016 07:49, Lukasz Sokol
wrote:
</div>
<blockquote cite="mid:n91r7f$q2c$1@ger.gmane.org" type="cite">
<pre wrap="">That it's C, not Pascal ;) and, um. sorry I do not have a c spec on hand,
does it really work that way in C - only evaluates truevalue or falsevalue not both?
I wrote another one in another email, maybe actually having new keyword or 2 is ok ?
and require it to be an assignment, like
x := ( condition; whentrue:=true_value; whenfalse:=false_value);
so syntactic sugar but not abusing function calls, but an assignment instead.
</pre>
</blockquote>
<font face="Tahoma" size="-1">Well then how about: x <b>:=</b> <b>when</b>
condition true_condition <b>otherwise</b> false_condition;<br>
<br>
How this is pascalish.<br>
<br>
Andreas<br>
</font><br>
</body>
</html>