Guest User

Untitled

a guest
Jul 4th, 2012
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  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. },
Advertisement
Add Comment
Please, Sign In to add comment