Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1f2c62318201603aa56c6ff87ff119e11c0fa08c
Ticket: 218058ffffffffffffffffffffffffffffffffff
Code that worked with v7.6 no longer works with v8.0.3
User & Date: nobody on 2000-10-26 00:52:40
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1473 Bug
    Version: 8.0.3
    SubmitDate: '1999-03-08'
    LastModified: '1999-03-13'
    Severity: CRIT
    Status: Closed
    Submitter: pat
    ChangedBy: rjohnson
    OS: Solaris
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-03-13'
    
    
    Name:
    Parveen Pasha
    
    CustomShell:
    NO
    
    ReproducibleScript:
         I developed a GUI which worked with version 7.6. The TCL/TK 
         interpreter has been upgraded from 7.6 to 8.0.3.
         Since then my GUI is broke.
        
         When a executing the code it complains 
        
         wrong # args: extra words after "else" clause in "if" command. 
        
         Has the syntax of "if then else changed"? 
        
         The syntax I am using is 
         
         if {test} {
        commands
        } else {
        commands
        }
        
        
    
    
    
    
    The above syntax is OK.  However, something else in the users code probably caused
    the problem.  Tcl 8.0 did tighten the syntax.  The user should try "procheck" to
    find the bug.  I'm closing this bug - not enough info to suggest any bug in Tcl.
    03/13/1999 15:38 - rjohnson -
    
    
    
  4. foundin changed to: "obsolete: 8.0.3"
  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: "69. Other"
  10. title changed to:
    Code that worked with v7.6 no longer works with v8.0.3
    
  11. type changed to: "Bug"