Re: Messaging (was: Possible bug in system node -11)
Status: Alpha
Brought to you by:
cwalther
From: Christian W. <cwa...@gm...> - 2011-10-22 10:38:48
|
> One other thing: I'm not certain how the messaging system works. How do I tell pipmak which node to contact? If I just do "34:message(lightFlicker)" or "34:getid():message(lightflicker)" pipmak says "unexpected symbol near 34", both times. 34 is a number and doesn't have a "message" method (numbers don't have methods at all, which explains the error message). What you want is the node object that represents node 34. How to obtain that depends on how you displayed node 34 - see section 3.6.3 "Node Objects" in the manual. (If node 34 is not being displayed, no node object for it exists and you can't message it.) -Christian |