tcl.lang.cmd
Class LappendCmd
java.lang.Object
  
tcl.lang.cmd.LappendCmd
- All Implemented Interfaces: 
 - Command
 
public class LappendCmd
- extends Object
- implements Command
  
This class implements the built-in "lappend" command in Tcl.
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LappendCmd
public LappendCmd()
cmdProc
public void cmdProc(Interp interp,
                    TclObject[] objv)
             throws TclException
- Tcl_LappendObjCmd -> LappendCmd.cmdProc
 
 This procedure is invoked to process the "lappend" Tcl command. See the
 user documentation for details on what it does.
- Specified by:
 cmdProc in interface Command
 
- Parameters:
 interp - The interpreter for setting the results and which contains the
            contextobjv - the argument list for the command; objv[0[ is the command name
            itself
- Throws:
 TclException - on any errors
 
 
lappendVar
public static TclObject lappendVar(Interp interp,
                                   String varName,
                                   TclObject[] values,
                                   int valuesInd)
                            throws TclException
- Append values to a list value
 
- Parameters:
 interp - current interpretervarName - name of variablevalues - TclObject values to appendvaluesInd - index of values to start at
- Returns:
 - new value for variable
 - Throws:
 TclException
 
 
Copyright © 2015. All rights reserved.