Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 20681b4ae0aae25142f007d5df68496c8e6e395b
Ticket: 472113ffffffffffffffffffffffffffffffffff
[namespace which -var] fails for ary(i)
User & Date: sebres on 2017-05-15 17:56:00
Changes

  1. icomment:
    <blockquote>check if it is an array. If not -> error</blockquote>
    
    I guess, it should rather return "" in this case, because currently "namespace which" will never produce an error (by valid command syntax).
    It would be also similar to "no error" (just empty return) by following code:
    <pre>
    unset -nocomplain novar
    namespace which -variable novar
    </pre>
    
  2. login: "sebres"
  3. mimetype: "text/html"