<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br>
<br><font size=2 face="sans-serif">In following code:</font>
<br>
<br><font size=2 face="sans-serif"> cNode=nodes(connected),  %gives
node connected to e6 - should get c6@localhost here</font>
<br><font size=2 face="sans-serif">  cNode=hd(Nodes),</font>
<br><font size=2 face="sans-serif"> {any, [cNode]}!{Msgtype,AcReply}.
  % have tried it with {any, cNode}!{Msgtype,AcReply}. but got the
error</font>
<br>
<br><font size=2 face="sans-serif">I am getting - </font>
<br><font size=2 face="sans-serif">{error,{{badmatch,c6@localhost},</font>
<br>
<br><font size=2 face="sans-serif">but when I am hardcoding it as </font>
<br>
<br><font size=2 face="sans-serif">  {any,c6@localhost}!{Msgtype,AcReply}.</font>
<br>
<br><font size=2 face="sans-serif">It is working fine...</font>
<br>
<br><font size=2 face="sans-serif">What could be the problem in first scenario</font>
<br>
<br><font size=2 face="sans-serif">Thanking in anticipation</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">jb</font>
<br><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>