PageRenderTime 48ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre5/bsh/commands/unset.bsh

#
Unknown | 8 lines | 6 code | 2 blank | 0 comment | 0 complexity | f542bf83040d9772b33643fa89958876 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. bsh.help.unset = "usage: unset( name )";
  2. unset( String name ) {
  3. if ( arg == null )
  4. return;
  5. this.caller.namespace.setVariable(name, null);
  6. }