tcl.lang.cmd
Class PutsCmd

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

public class PutsCmd
extends Object
implements Command

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


Constructor Summary
PutsCmd()
           
 
Method Summary
 void cmdProc(Interp interp, TclObject[] argv)
          Prints the given string to a channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PutsCmd

public PutsCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] argv)
             throws TclException
Prints the given string to a channel. See Tcl user documentation for details.

Specified by:
cmdProc in interface Command
Parameters:
interp - the current interpreter.
argv - command arguments.
Throws:
TclException - on any errors


Copyright © 2015. All rights reserved.