getfromid


Purpose
Get the ID of the sender of an event.
Synopsis
function getfromid(ev:Event):integer
Argument
ev 
An event
Return value
The ID of the sender of the event (>0) or 0 for a nullevent
Further information
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.
Related topics
getid, getvalue, getclass.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.