On 03/07/2010 08:17 PM, Walter Bright wrote:
What's the difference between ?: and functional if-then-else?

?: combined with some fun delegate thunks would be equivalent to functional if-then-else.

like this:

return x > y ? ({writeln(); return 6;})() : ({frobnicate_the_freezer; return 2;})();

Reply via email to