<div class="gmail_quote">On Tue, Mar 17, 2009 at 3:53 PM, Johnny Billquist <span dir="ltr"><<a href="mailto:bqt@softjar.se">bqt@softjar.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Huh? What's wrong with coding that in Erlang as:<br>
<br>
foo() -><br>
if<br>
requested ad size is bad -><br>
{skip, bad_size};<br>
the game has ads disabled -><br>
{skip, disabled};<br>
the game is filtering a domain -><br>
{skip, domain_filtered};<br>
_ -><br>
choose_ad()<br>
end.<br>
<br>
Johnny<br>
</blockquote></div><br>It sounds from his description like the pseudocoded conditions are a bit more involved than just a guard.<br><br>-- <br>Tony Arcieri<br><a href="http://medioh.com">medioh.com</a><br>