Re: can TCL handle large string?




liudin wrote:
> Hi,
>
> I want to pass a string which length is large than 255 to a function.
> But it seems that tcl chop the string to the limit of 250. Is there any way
> in TCL to handle the large string?
>
>
> Thanks.
>
> liudin
I think we need to know more of your setup to correctly answer this.

Robert

.



Relevant Pages

  • Re: TIP #185: Null Handling
    ... reconstructed from its string representation. ... this is how Tcl works. ... Tcl database API ought to work. ... extension, it would be a good idea for the Core to provide ...
    (comp.lang.tcl)
  • Re: [Re:] question about character encodings with Tcl interpreter embedded in C++
    ... > in UTF-8, the internal encoding), than you don't want to use ByteArray ... string I got from the outside world, unbeknownst to Tcl. ...
    (comp.lang.tcl)
  • Re: Is garbage collection here yet?
    ... I don't consider tcl to be a fully higher-level language. ... Tcl has so many other cool features and such a clean ... As others have answered, Tcl does do ref-counting GC of its values, which works fine for strings as they can't contain circular references and are stateless/immutable. ... Basically, it's hard to distinguish a reference from any other string, which makes it difficult to know when it is safe to delete something. ...
    (comp.lang.tcl)
  • Re: Obstacles for Tcl/Tk commercial application development ?
    ... The real problems that people at my team have experienced with TCL ... We all know than a list has a special string representation. ... it is very error prone for non experienced TCL programmers. ... maybe it suggests that the TCL language has ...
    (comp.lang.tcl)
  • Re: "string map" causes problems with german umlauts since version tcl8.4
    ... I extended the example a bit and let it run on tcl 8.4.13, on tclkitsh ... % string length $b ... The tcl shell is not able, but the text widget of the ...
    (comp.lang.tcl)