Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 28b114684436a6f59c655c1272aefa4723e32cd5
Ticket: 623061ffffffffffffffffffffffffffffffffff
enhancement: turn off Octal
User & Date: pedietz on 2002-10-14 14:55:40
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    There is such an out cry for "why did 08 blow up my 
    application" on comp.lang.tcl.* -- that I will post this 
    recommendation again.
    
    we need to create a method to help these people out....
    
    TCL already has a handful of special environment 
    variables / global variables that control the behaviour of 
    TCL  (floating point precision, debug level,  etc.)
    
    Why can't we add an environment variable to control 
    if "leading zero Octal" is used or not ?  This can be set 
    to true as the default so its backwards comaptible...
    
    then companies like mine can:
      set tcl_use_octal 0 
    
    in one of the TCL init libraries so all our users / 
    programs are covered.
    
    
    Or you can hide the environment variable by offering a 
    new command like octal people can call:
        octal none
    or a more generic tclfeatures command:
        tclfeatures nooctal
    
    Or pass a flag to expr:
      set y [expr -nooctal  $month + 1]
    (though this would not catch everthing like the other 
    methods).
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "pedietz"
  9. subsystem changed to: "08. Environment Variables"
  10. title changed to: "enhancement: turn off Octal"
  11. type changed to: "RFE"