<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
It would have been nice for and/or to short circuit in quake like they do in C.<br><br><br>Code like:<br><br>if not defined("TARGET")<br> readonly TARGET = "I386_FREEBSD"<br>else<br> if not equal(TARGET, "FreeBSD4")<br> readonly TARGET = "I386_FREEBSD"<br> end<br>end<br><br><br>is better written as:<br>if not defined("TARGET") or not equal(TARGET, "FreeBSD4")<br> readonly TARGET = "I386_FREEBSD"<br>end<br><br>but that isn't allowed because equal() will complain that TARGET isn't defined.<br><br>It probably can't fixed though, due to e.g.:<br><br>if TRUE or DoSomething()<br> ...<br>end<br><br><br>would be broken.<br><br><br>perhaps<br>OR and AND<br>or short_circuit_and<br>or and_shorted<br>or and_short_circuit<br>or and_early_out<br>or and_early<br>or "&&"<br>or something...<br><br><br>Or I should just rewrite so much quake in Modula-3...<br><br><br> - Jay<br> </body>
</html>