Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 79cd64569b82c05e81657048072d8c2efe0956a6
Ticket: 218257ffffffffffffffffffffffffffffffffff
expr misbehaves with strings
User & Date: nobody on 2000-10-26 00:55:08
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3079 Bug
    Version: 8.1
    SubmitDate: '1999-10-11'
    LastModified: '1999-10-19'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows 98
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '1999-10-19'
    
    
    Name:
    Arjen Markus
    
    ReproducibleScript:
    set a "AA"
        set b "BB"
        expr $a == $b 
        -- syntax error in expression "AA == BB"
        expr { $a == $b }
        0
        -- Not in accordance with manual! Or did I miss something?
    
    DesiredBehavior:
    expr $a == $b
        0
    
    
    
    This is not in conflict with the man page (the man page is quiet
    on this point).  The section on STRING OPERATIONS specifically
    braces the exprs, as is required. 
    -- 10/19/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.1"
  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: "expr misbehaves with strings"
  11. type changed to: "Bug"