4DIS - JavascriptTutorial - Variables

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
Line 11: Line 11:
 
// create a new...
 
// create a new...
  
 +
/*
 
var ...name...;
 
var ...name...;
 
var ...name... = ...value...;
 
var ...name... = ...value...;
 
var ...name... : ...type...;
 
var ...name... : ...type...;
 
var ...name... : ...type... = ...value...;
 
var ...name... : ...type... = ...value...;
 +
*/
  
// An example...
+
// examples...
  
 
var newVar : String = "This is a string";
 
var newVar : String = "This is a string";
  
 
</javascript>
 
</javascript>

Revision as of 08:38, 30 October 2011

Javascript Variables

4DIS - JavascriptTutorial - Back


<javascript>

// create a new...

/* var ...name...; var ...name... = ...value...; var ...name... : ...type...; var ...name... : ...type... = ...value...;

*/

// examples...

var newVar : String = "This is a string";

</javascript>

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox