tcl.lang.cmd
Class ProcCmd
java.lang.Object
tcl.lang.cmd.ProcCmd
- All Implemented Interfaces:
- Command
public class ProcCmd
- extends Object
- implements Command
This class implements the built-in "proc" command in Tcl.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcCmd
public ProcCmd()
cmdProc
public void cmdProc(Interp interp,
TclObject[] objv)
throws TclException
- Tcl_ProcObjCmd -> ProcCmd.cmdProc
Creates a new Tcl procedure.
- Specified by:
cmdProc
in interface Command
- Parameters:
interp
- the current interpreter.objv
- command arguments.
- Throws:
TclException
- If incorrect number of arguments.
FindCommandNamespace
public static ProcCmd.FindCommandNamespaceResult FindCommandNamespace(Interp interp,
String fullName)
throws TclException
- Throws:
TclException
Copyright © 2015. All rights reserved.