Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fdcb492e3869c574ab7db3bc4d1f9774673772fc
Ticket: 1910136fffffffffffffffffffffffffffffffff
Misleading remark in vwait manpage
User & Date: ferrieux on 2008-03-08 23:35:17
Changes

  1. icomment:
    Logged In: YES 
    user_id=496139
    Originator: NO
    
    Well, it *is* misleading but not the "opposite" of the truth.
    
    It is important to distinguish between the string representing the variable (which is the argument of vwait) and the variable itself. The fact that a proc calling [vwait] declares global a var of the same name has absolutely no effect. What's more important is that the event handlers that may unlock vwait can only refer globals, since they are defined to run at the global scope.
    
    Hence, here is a proposal for rephrasing:
    
      Consistently with what happens in event handlers, varName is always interpreted as
    global if it isn't qualified with a proper namespace prefix.
    
    
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"