Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 26fdfe8b34106f262d167a0e782b4847dee87784e7501233a5d7b7e89189e99f
Ticket: 6ee2f5d5d6bc7d697b735f5389d833ff9e61e217
Tcl 9.0 "invalid character in array index" error for $a("b")
User & Date: oehhar on 2026-07-30 09:04:34
Changes

  1. icomment:
    Yes, special characters have to be escaped.
    
    <verbatim>
    % set a("b") x
    x
    (bin) 2 % puts $a(\"b\")
    x
    </verbatim>
    
    I remeber a long discussion on this...
    
    Perhaps, Andreas may comment on this.
    
    And we may enhance the migration notes by examples.
    
    Thanks for all,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"