Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3dbfc824c3cd1e42eb4e063ce89202f5205a95c2
Ticket: 770849ffffffffffffffffffffffffffffffffff
incr of neumeric values for '08' and '09' fails
User & Date: nobody on 2003-07-14 09:22:47
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl Version: 8.4.1
    Os Platform: AIX 4.3.3.10
    
    Problem Behaviour:
    
    When I set a variable to 08 or 09 and then gives 
    increment command its fails, giving an ERROR "expected 
    integer but got "08" (looks like invalid octal number)".
    
    But if i assign value equals to 05 or 06 and then issue an 
    incr command it gives a proper result.
    
    Please refer the Wish output
    
    % set r 07
    07
    % incr r
    8
    % set r 08
    08
    % incr r
    expected integer but got "08" (looks like invalid octal 
    number)
    % info tclversion
    8.4
    % info patchlevel
    8.4.1
    % 
    
    
    So, the output must be consistent for all values, like 05 
    it must give an error while incrementing its value OR 
    ELSE for 08 and 09, it must not give an ERROR.
    
    
  4. foundin changed to: "obsolete: 8.4.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: "07. Variables"
  10. title changed to: "incr of neumeric values for '08' and '09' fails"
  11. type changed to: "Bug"