Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c0360fa64d15c227258bc40214c7745ea3b75cc3
Ticket: 218061ffffffffffffffffffffffffffffffffff
Problems with the usage of 08 and 09
User & Date: nobody on 2000-10-26 00:52:42
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1514 Bug
    Version: 8.0p2
    SubmitDate: '1999-03-16'
    LastModified: '1999-08-07'
    Severity: MED
    Status: Closed
    Submitter: pat
    ChangedBy: hobbs
    OS: Windows 95
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '1999-08-07'
    
    
    Name:
    Jayanth Vedagiri
    
    Extensions:
    tcl8.0
    
    ReproducibleScript:
        expr 1 + 08
        expr 1 + 09
        expr 08 + 1
        expr 09 + 1
        format "%d" 08
        format "%d" 09
        expr 1*int(08)
        expr 1*int(09)
        
    
    
    
    ObservedBehavior:
        Always gives an expression error or a syntax error, but works well in
        the case of other numbers
        
    
    
    
    DesiredBehavior:
        should be able to perform calculations like with ordinary numbers 
        
    
    
    
    
    These characters are being interpreted as octal numbers, for which
    08 and 09 are not valid, as doc'ed in the expr man page. 
    -- 08/07/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0p2"
  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: "Problems with the usage of 08 and 09"
  11. type changed to: "Bug"