Table of Contents Chapter Index Previous Slide Next Slide 293
Understanding JavaScript Functions

Introducing Program Script Writing with JavaScript

Understanding JavaScript Functions
  • The program script implements the node using values from the interface

  • Define one function for each input event
  • Arguments include event value and time
  • function set_fraction( f, tm ) {
        . . .
    }