Input device: Difference between revisions

Jump to navigation Jump to search
Line 329: Line 329:
  x = 10;
  x = 10;


But [http://wiki.flightgear.org/index.php/Nasal_scripting_language#Variables for various reasons] it is much better to declare variables with the "var" statement:
But [http://wiki.flightgear.org/index.php/Nasal_scripting_language#Variables for various reasons] it is generally better to declare variables with the "var" statement:
  var x = 10;
  var x = 10;


482

edits

Navigation menu