tcl.lang.cmd
Class CaseCmd

java.lang.Object
  extended by 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.


Constructor Summary
CaseCmd()
           
 
Method Summary
 void cmdProc(Interp interp, TclObject[] argv)
          Executes a "case" statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseCmd

public CaseCmd()
Method Detail

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.