tcl.lang.cmd
Class UnsetCmd
java.lang.Object
tcl.lang.cmd.UnsetCmd
- All Implemented Interfaces:
- Command
public class UnsetCmd
- extends Object
- implements Command
This class implements the built-in "unset" command in Tcl.
Method Summary |
void |
cmdProc(Interp interp,
TclObject[] objv)
Tcl_UnsetObjCmd -> UnsetCmd.cmdProc
Unsets Tcl variable (s). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsetCmd
public UnsetCmd()
cmdProc
public void cmdProc(Interp interp,
TclObject[] objv)
throws TclException
- Tcl_UnsetObjCmd -> UnsetCmd.cmdProc
Unsets Tcl variable (s). See Tcl user documentation * for details.
- Specified by:
cmdProc
in interface Command
- Parameters:
interp
- The interpreter for setting the results and which contains the
contextobjv
- the argument list for the command; objv[0[ is the command name
itself
- Throws:
TclException
- If tries to unset a variable that does not exist.
Copyright © 2015. All rights reserved.