<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I simple want to use if-else statements
and use data from that to build message...</font>
<br>
<br><font size=2 face="sans-serif">e,g,</font>
<br>
<br><font size=2 face="sans-serif">if condition = 1then</font>
<br>
<br><font size=2 face="sans-serif">msg = 1</font>
<br>
<br><font size=2 face="sans-serif">else</font>
<br>
<br><font size=2 face="sans-serif">if condition = 2 then</font>
<br>
<br><font size=2 face="sans-serif">msg = msg + 2 </font>
<br>
<br><font size=2 face="sans-serif">if condition = 3 then</font>
<br>
<br><font size=2 face="sans-serif">return msg</font>
<br>
<br><font size=2 face="sans-serif">Basically, i want to build message recursively
based upon conditions...i.e. msg is my global variable</font>
<br>
<br><font size=2 face="sans-serif">I just could not find out the way it
can be done in erlang</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">jb</font>
<br><font size=2 face="sans-serif">____________________________________________</font><pre>=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
</pre>