Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 35eef126bbc80b694dceabfe8eef469fe80c3eff
Ticket: 218354ffffffffffffffffffffffffffffffffff
error in format command
User & Date: nobody on 2000-10-26 00:56:37
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 4123 Bug
    Version: 8.2.3
    SubmitDate: '2000-02-03'
    LastModified: '2000-02-03'
    Severity: LOW
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: HP-UX
    OSVersion: HP-UX 10.2
    Machine: HP C3000
    FixedDate: '2000-10-25'
    ClosedDate: '2000-02-03'
    
    
    Name:
    Matthew Hall
    
    ReproducibleScript:
    #This command works as expected
    format %d 007 
    7
    
    #This command does not
    format  %d 008
    expected integer but got "008"
    
    ObservedBehavior:
    error message
    
    DesiredBehavior:
    format %d 008
    8
    
    
    
    This is correct.  Perhaps the 8.3 error message is more helpful:
    
    pop [tcl8.3/unix/sol7] 9 % tclsh8.3
    % format %d 008
    expected integer but got "008" (looks like invalid octal number)
     
    -- 02/03/2000 hobbs
    
  4. foundin changed to: "final: 8.2.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: "error in format command"
  11. type changed to: "Bug"