Talk:Ternary logic: Difference between revisions

Content added Content deleted
(→‎C example: new section)
(→‎if a then b: new section)
Line 16: Line 16:


Could have been better (I could have bothered to do a table), but I hope the C example is sufficiently and approriately clear, fast and clever. Hopefully, I'll get around to implementing the C++ version using templates. --[[User:Short Circuit|Michael Mol]] 17:23, 26 August 2011 (UTC)
Could have been better (I could have bothered to do a table), but I hope the C example is sufficiently and approriately clear, fast and clever. Hopefully, I'll get around to implementing the C++ version using templates. --[[User:Short Circuit|Michael Mol]] 17:23, 26 August 2011 (UTC)

== if a then b ==

What is if a then b condition? It's not a straightforward conditional like <code>if a then: b; else:a;</code>. Looks more like if we define false <= maybe, maybe <= true, false < true, the "if a then b" condition is the same as a <= b. Some clarification? --[[User:Ledrug|Ledrug]] 01:07, 27 August 2011 (UTC)