Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b69dcdad9520c16c772d79c765a643a6a358a1ad5972278a7e5ab77fd9bfba4e
Ticket: 32dd97149b4aa2f943f9a8d04bf0ecda8b348084
tcl comment syntax BUG
User & Date: anonymous on 2022-08-29 07:02:13
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    Hi, put code down in a "extra2.test" file and call it with :
    
    tclsh extra2.test 1 or 2 or 3
    
    ===============================
    lassign $argv num
    
    if { $num == 1 } {
    
      puts 1
    
    # } elseif { $num == 2 } {
    #
    #   puts 2
    
    } else {
    
      puts 99
    
    }
    =================================
    
    > tclsh extra2.test 1
    1
    
    > tclsh extra2.test 2
    !! nothing !!
    
    > tclsh extra2.test 3
    99
    
  5. foundin changed to: "tclsh8.6"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "cfa5542303e02522a952e7e43ae9583a052b31e9"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "None"
  15. title changed to: "tcl comment syntax BUG"
  16. type changed to: "Bug"