Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ff6dcaf77d711f4930697a13a46a429eff19a2516bc6a8a7f76e5c9895900638
Ticket: 3a24cc9df1619a130120e8cef8560aef0561c1f0
Switch statement case fails when using a open parenthesis in a comment
User & Date: griffin on 2025-04-12 23:57:56
Changes

  1. icomment:
    This behavior is expected. Tcl is not parsed like other programming languages. It is an organized collection of strings that can be evaluated to do things. 
    Read this man page carefully. https://www.tcl-lang.org/man/tcl8.6/TclCmd/Tcl.htm 
    It defines everything you need to know about Tcl. 
    
    This is an over simplification: There is no “comment” in Tcl. Instead, commands that start with a # are ignored. 
    
    I hope this helps.
    
  2. login: "griffin"
  3. mimetype: "text/x-fossil-plain"