Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a345a57c3fb156cab4b5845d779c04190d4a0fbf
Ticket: 1022151fffffffffffffffffffffffffffffffff
'array unset' inconsistency ?
User & Date: hobbs on 2004-09-08 06:01:46
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    
    To clarify further, (3) allows the array to remain, while
    (2) will make it go away - but only if it is an array. 
    These are noops for non-array vars, as specified in the
    docs, which is why these key diffs are important:
    
    Unsets all of the elements in the array that match
    \fIpattern\fR (using the matching rules of \fBstring
    match\fR).  If \fIarrayName\fR isn't the name of an array
    variable or there are no matching elements in the array, no
    error will be raised.  If \fIpattern\fR is omitted and
    \fIarrayName\fR is an array variable, then the command
    unsets the entire array. The command always returns an empty
    string.
    
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"