Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The easiest way to define the procedure as a callable function in JavaScript is with the use of the pjs.defineProc() API. It is simply a matter of specifying all parameters and a return value if the procedures procedure returns one. For example:

...