<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=495261812-03112005><FONT face=Arial color=#0000ff size=2>Just a
side note:</FONT></SPAN></DIV>
<DIV><SPAN class=495261812-03112005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=495261812-03112005><FONT face=Arial color=#0000ff size=2>On the
most recent erlang versions (don't know when it was actually introduced), you
should use:</FONT></SPAN></DIV>
<DIV><SPAN class=495261812-03112005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=495261812-03112005><FONT face=Arial color=#0000ff
size=2>list_to_existing_atom("Process" ++ integer_to_list(ProcessNo)) !
{MyMessage},</FONT></SPAN></DIV>
<DIV><SPAN class=495261812-03112005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=495261812-03112005><FONT face=Arial color=#0000ff size=2>as
this would prevent you from accidentally starting to create atoms that couldn't
possibly point to a registered process.</FONT></SPAN></DIV>
<DIV><SPAN class=495261812-03112005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=495261812-03112005><FONT face=Arial color=#0000ff
size=2>/Uffe</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-erlang-questions@erlang.org
[mailto:owner-erlang-questions@erlang.org] <B>On Behalf Of </B>maruthavanan
s<BR><B>Sent:</B> den 3 november 2005 12:07<BR><B>To:</B>
erlang-questions@erlang.org<BR><B>Subject:</B> Messages
missing<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<DIV class=RTE>Hi,</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>I am using erlang 5.4.3 in windows 2000, My program frames the
the message that has to be sent, but it don't send the message to the
process</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>for e.g </DIV>
<DIV class=RTE> </DIV>
<DIV
class=RTE>list_to_atom("Process"++integer_to_list(ProcessNo))!{MyMessage},</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>ProcessNo is always an integer and this process always exists,
i don't get any error reports, i have open pman process and had a look. it
calls the integer_to_list() fucntion and moves to the next step, but does not
send the message to the process, what could be wrong because this does not
happen everytime but it occurs rarely...</DIV>
<DIV class=RTE>Can any one help me in this regard?</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Thanks,</DIV>
<DIV class=RTE>Maruthavanan.S</DIV></DIV></BLOCKQUOTE></BODY></HTML>