Forums
              
          Example basic script for Limelight XE ECMA compliant scripting engine
// Default Limelight Javascript Shell
(()=>{  // main script begins...
 // user code goes here...
 // example:
 var x = 41;
 x = PlusOne(x);
 console.log('The result is: ' + x)
 ace.wait(2000);
}
// end of main script
)(); // end of main script...
// functions can go here or before the main script begins
// example function
function PlusOne(value){
 var i = value;
 i++;
 return i;
}
