CLASS
tcl.lang.TclString -- This class is used to create and modify Tcl string objects.
IMPLEMENTS
tcl.lang.InternalRep
METHODS
static TclObject newInstance(String strValue)
static void append(TclObject tobj, String string)
ARGUMENTS
DESCRIPTION
newInstance
append
EQUIVALENT C FUNCTIONS
SEE ALSO
KEYWORDS

CLASS

tcl.lang.TclString -- This class is used to create and modify Tcl string objects.

IMPLEMENTS

tcl.lang.InternalRep

METHODS

static TclObject newInstance(String strValue)

static void append(TclObject tobj, String string)

ARGUMENTS

TclObject tobj
TclObject to append a string to. If the internal representation of tobj is not TclString, the method converts it to TclString.

String strValue
Value of internal string in newly created TclObject.

String string
String to append to the end of the string in the internal representation of tobj.

DESCRIPTION

newInstance
The newInstance method creates and returns a new TclString whose internal representation contains the string strValue.

append
The append method concatenates string to the end of the String internally to tobj.

EQUIVALENT C FUNCTIONS

Tcl_NewStringObj, Tcl_AppendToObj

SEE ALSO

InternalRep, TclObject, TclList, TclIndex, TclDouble, TclInteger, TclBoolean, ReflectObject

KEYWORDS

internal representation, object, object type, string, append
Copyright © 1996-1998 Sun Microsystems, Inc.
Copyright © 1995-1997 Roger E. Critchlow Jr.