Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 4th, 2012  |  syntax: None  |  size: 0.41 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.     /**
  2.      * Assigns a value to a variable in the current scope.
  3.      * @param {String} vname Variable name
  4.      * @param {%} value Anything
  5.      * @see JXG.JessieCode#sstack
  6.      * @see JXG.JessieCode#scope
  7.      */
  8.     letvar: function (vname, value) {
  9.         if (this.builtIn[vname]) {
  10.             this._warn('"' + vname + '" is a predefined value.');
  11.         }
  12.  
  13.         this.sstack[this.scope][vname] = value;
  14.     },