Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 344a16661892ed2f8280bf88c61272c5638a4ab4
Ticket: 447296ffffffffffffffffffffffffffffffffff
commented if statement are evaluated
User & Date: nobody on 2001-08-02 19:45:10
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Code snippet:
    if {<conditional1>} {
    <action1>
    #} elseif {<conditional2>}
    #<action2>
    } else {
    <action3>
    }
    
    Problem:
    If <conditional2> is true in above if statement,
    <action3> will not execute. Nothing happens instead. It
    appears that <conditional2> is being evaluated, but
    <action2> is being ignored as commented code. I don't
    know if this occurs with other conditional statements.
    
    Expected:
    Since <conditional2> is commented out, it should be
    ignored and not evaluated.
    
    OS:Solaris 5.8 for SPARC.
    
    Tcl version:8.3.2
    
  4. foundin changed to: "obsolete: 8.3.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "None"
  10. title changed to: "commented if statement are evaluated"
  11. type changed to: "Bug"