Quartz Composer JavaScript Reference © Cybero Designs  

var

Type Statement
Format var variable name = value or sum;
Commentary
Declares a variable, optionally initializing it to a value; var a = b = c = 9; var a = b = c = 9; variables and a, b, c will be assigned to 9.
Sample code - QC 2 JavaScript
var a = 12;
outputs [0] = a;
Sample code - QC 3 JavaScript
function (__number outputNumber) main ()
{
var result = new Object();
var a = 1.6359867;
result.outputNumber = a;
return result;
}

Return to the Start Page