getfromid
| getfromid | 
  Purpose
 
  Synopsis
 
function getfromid(ev:Event):integer
 
  Argument
 
| 
     ev 
     | 
     An event
     | 
  Return value
 
  The ID of the sender of the event. 0 is returned for a
 nullevent
  Further information
 
 1. Each model has a unique ID that is attached to each event it sends. With this function one can identify the sender of a given event.
 
 2. The ID of an event sent from the parent model is always 0.
 
  Related topics
 
  Module
 
 
