Writing program scripts with JavaScript
Responding to events
 
- An eventIn function must be declared for each eventIn
 
- The eventIn function is called each time an event is received,
passing the event's
	- value
	- time stamp
 
 
- function set_fraction( value, timestamp ) {
    . . .
}