Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Code that worked with v7.6 no longer works with v8.0.3

Closed / Invalid218058ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:40
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 -
welch Closed ticket [218058ffff]. [History diff]2000-10-26 08:13:44
dgp Ticket [218058ffff]: 4 changes [History diff]2001-04-16 22:56:34
Log in (anonymous is fine) to add a comment.