tcl.lang.cmd
Class ExprCmd
java.lang.Object
tcl.lang.cmd.ExprCmd
- All Implemented Interfaces:
- Command
public class ExprCmd
- extends Object
- implements Command
This class implements the built-in "expr" command in Tcl.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprCmd
public ExprCmd()
cmdProc
public void cmdProc(Interp interp,
TclObject[] argv)
throws TclException
- Evaluates a Tcl expression. See Tcl user documentation for details.
- Specified by:
cmdProc
in interface Command
- Parameters:
interp
- The interpreter for setting the results and which contains the
contextargv
- the argument list for the command; objv[0[ is the command name
itself
- Throws:
TclException
- If malformed expression.
Copyright © 2015. All rights reserved.