<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Yes, I know, it is unfortunate and counterintuitive. I workaround it all the time.<BR> <BR> - Jay<br><br> <BR><div>> Date: Fri, 30 May 2014 14:49:29 -0500<br>> From: rodney_bates@lcwb.coop<br>> To: m3devel@elegosoft.com<br>> Subject: [M3devel] No short-circuit "or" and "and" in Quake<br>> <br>> I just discovered by accident, an undocumented peculiarity in Quake.<br>> The "or" boolean operator (and, presumably "and" too) do not have the<br>> usual short-circuit property.  So, for example, you can't write:<br>> <br>> if not defined("Unicode_WIDECHAR")<br>>     or empty (Unicode_WIDECHAR)<br>> <br>> If it's undefined, Quake will still evaluate and crash on the second<br>> condition.<br>> <br>> <br>> -- <br>> Rodney Bates<br>> rodney.m.bates@acm.org<br></div>                                       </div></body>
</html>