tcl.lang.cmd
Class WhileCmd

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

public class WhileCmd
extends Object
implements Command

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


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

Constructor Detail

WhileCmd

public WhileCmd()
Method Detail

cmdProc

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

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


Copyright © 2015. All rights reserved.