<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'>if i instead of :<br><br>fib(N) -><br> if<br> N > 1 -><br> fib(N-1) + fib(N-2);<br> N == 1 -><br> 1;<br> N == 0 -><br>
0<br> end.<br><br>want to do:<br><br>fib(N) -><br> if<br> N > 1 -><br> fib(N-1) + fib(N-2);<br> N == 1 or N == 0 -><br> N<br> end.<br><br>it doenst work, how do i use or?<br>http://www.erlang.org/doc/reference_manual/part_frame.html<br>doesnt provide an actual example of how to use it.<br></td></tr></table><br>
<hr size=1>
Låna pengar utan säkerhet.<br>
<a href=http://shopping.yahoo.se/c-100390123-lan-utan-sakerhet.html?partnerId=96915014>Sök och jämför hos Yahoo! Shopping.</a>