tcl.lang.cmd
Class ForeachCmd

java.lang.Object
  extended by tcl.lang.cmd.ForeachCmd
All Implemented Interfaces:
Command

public class ForeachCmd
extends Object
implements Command

This class implements the built-in "Foreach" command in Tcl.


Constructor Summary
ForeachCmd()
           
 
Method Summary
 void cmdProc(Interp interp, TclObject[] objv)
          Tcl_ForeachObjCmd -> ForeachCmd.cmdProc This procedure is invoked to process the "foreach" Tcl command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeachCmd

public ForeachCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] objv)
             throws TclException
Tcl_ForeachObjCmd -> ForeachCmd.cmdProc This procedure is invoked to process the "foreach" Tcl command. See the user documentation for details on what it does.

Specified by:
cmdProc in interface Command
Parameters:
interp - the current interpreter.
objv - command arguments.
Throws:
TclException - if script causes error.


Copyright © 2015. All rights reserved.