tcl.lang.cmd
Class SourceCmd

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

public class SourceCmd
extends Object
implements Command

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


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

Constructor Detail

SourceCmd

public SourceCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] argv)
             throws TclException
cmdProc -- This cmdProc is invoked to process the "source" Tcl command. See the user documentation for details on what it does. Results: None. Side effects: A standard Tcl result is stored in the interpreter. See the user documentation.

Specified by:
cmdProc in interface Command
Parameters:
interp - The interpreter for setting the results and which contains the context
argv - the argument list for the command; objv[0[ is the command name itself
Throws:
TclException - on any errors
See Also:
Command.cmdProc(tcl.lang.Interp, tcl.lang.TclObject[])


Copyright © 2015. All rights reserved.