Download NetLogo 2.1.0 User Manual
Transcript
NetLogo 2.1.0 User Manual See also extract−hsb, rgb, extract−rgb. hubnet−broadcast hubnet−broadcast tag−name value This broadcasts value from NetLogo to the variable, in the case of Calculator HubNet, or interface element, in the case of Computer HubNet, with the name tag−name to the clients. See the HubNet Authoring Guide for details and instructions. hubnet−broadcast−graphics hubnet−broadcast−graphics This broadcasts the current state of the Graphics Window in the NetLogo model to all the Computer HubNet Clients. It does nothing for Calculator HubNet. Note: This is an experimental primitive and its behavior may change in a future version. See the HubNet Authoring Guide for details and instructions. hubnet−enter−message? hubnet−enter−message? Reports true if a new computer client just entered the simulation. Reports false otherwise. hubnet−message−source will contain the user name of the client that just logged on. See the HubNet Authoring Guide for details and instructions. hubnet−exit−message? hubnet−exit−message? Reports true if a computer client just exited the simulation. Reports false otherwise. hubnet−message−source will contain the user name of the client that just logged off. See the HubNet Authoring Guide for details and instructions. hubnet−fetch−message hubnet−fetch−message If there is any new data sent by the clients, this retrieves the next piece of data, so that it can be accessed by hubnet−message, hubnet−message−source, and hubnet−message−tag. This will cause an error if there is no new data from the clients. See the HubNet Authoring Guide for details. 182 Primitives Dictionary