File: UpdateParameter.js

package info (click to toggle)
savvycan 220-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,456 kB
  • sloc: cpp: 61,803; sh: 293; javascript: 91; python: 44; makefile: 8
file content (12 lines) | stat: -rw-r--r-- 147 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
var testingVar = 10;

function setup()
{
   host.addParameter("testingVar");
   host.setTickInterval(2000);
}

function tick()
{
   testingVar++;
}