Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 13007e0abefcf307877cf8bdad55c82c4c0b4072
Ticket: 219369ffffffffffffffffffffffffffffffffff
"break when <expression>" command
User & Date: nobody on 2000-10-26 05:11:44
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 5983 RFE
    Version: 8.3.1
    SubmitDate: '2000-07-06'
    LastModified: '2000-10-25'
    Severity: LOW
    Status: UnAssn
    Submitter: techsupp
    OS: Macintosh
    OSVersion: MacOS 9.0.4
    Machine: Power Mac G4
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    Name:
    Andy Stark
    
    Extensions:
    None
    
    DesiredBehavior:
    A "when" option for the "break" command. "Break" seems to be most often used conditionally in loops, so you have to write something like:-
         if<...> then {
              break
         }
    
    A nice shorthand for this would be something like
             break when <xxx>
    ...where xxx is handled like an expression (similar to the way the "if" command handles the expression, without an explicit "expr"). The break only occurs when the expression evaluates to true, similar to the "exit when" command in Ada.
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.3.1"
  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: "69. Other"
  10. title changed to: ""break when <expression>" command"
  11. type changed to: "RFE"