Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8dbe675a1f226bb05a3e3d624a3888e808a4413d
Ticket: 785392ffffffffffffffffffffffffffffffffff
split command:
User & Date: nobody on 2003-08-08 13:46:35
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Bug desciption:
    
    If a text string contains a { or } sign and you want to 
    split on the "{" or "}" characters the bug occures.
    
    proc bug {} {
    Text "hello how are you { see you}"
    msglines [split $text "{" ] {
    set msgline($linenumber) $msglines 
    incr linenumber 1}
    
    for {set f 0} {$f <$linenumber} {incr f 1} {
         puts $config $msgline($f);puts $config $f}
    }
    
    this give a compile error :
    Extra character after close brace. but this is not true..
    It has nothing to do with the proc. it is part of a string 
    and should not be recognized as a part of the procedure
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "11. Conversions from String"
  10. title changed to: "split command:"
  11. type changed to: "Bug"