tcl.lang.cmd
Class PutsCmd
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PutsCmd
public PutsCmd()
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.