Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c4cd55564e521964a6f8619fffd43c5311f1eb2e
Ticket: 550789ffffffffffffffffffffffffffffffffff
[break] should take an 'after'-script
User & Date: dgp on 2002-05-11 04:56:32
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    For compatibility reasons, I do not think such a
    proposal can be considered before Tcl 9.
    
    I do not think this request is a good idea.  It proposes a
    change to [break], but really this is a proposed change to a
    number of commands that respond to the TCL_BREAK 
    completion code.  It's not at all clear how some of
    those commands would need to adapt to this change.
    ([subst] ?  Evaluation of Tk bindings? )
    
    [break] has a very narrow purpose of providing at the
    script level the ability to return a TCL_BREAK
    completition code.  I do not think it should be
    further complexified.
    
    The particular applications outlined in the proposal are
    worthwhile and interesting, but Tcl already provides the
    ability to define new looping commands and new completion
    codes that can implement those ideas.  Such commands could
    be added to the control package of tcllib, if it is 
    believed necessary to provide such commands broadly.  I
    don't think there's any need to change the core to give
    the proposer the power he seeks.
    
    I'm leaving the request open for further comment, but
    dropping the priority.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. priority changed to: "3 Low"
  5. title changed to: "[break] should take an "after"-script"
  6. username: "dgp"