tcl.lang.cmd
Class CaseCmd
java.lang.Object
tcl.lang.cmd.CaseCmd
- All Implemented Interfaces:
- Command
public class CaseCmd
- extends Object
- implements Command
This class implements the built-in "case" command in Tcl.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaseCmd
public CaseCmd()
cmdProc
public void cmdProc(Interp interp,
TclObject[] argv)
throws TclException
- Executes a "case" statement. See Tcl user documentation for details.
- Specified by:
cmdProc
in interface Command
- Parameters:
interp
- the current interpreter.argv
- command arguments.
- Throws:
TclException
- If incorrect number of arguments.
Copyright © 2015. All rights reserved.