Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c4a95beba9f1b4a53b533bdf55764f95c8113352
Ticket: 1353531fffffffffffffffffffffffffffffffff
Error results from assignment of hex value to scale variable
User & Date: billposer on 2005-11-10 23:00:42
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    In MS Windows NT 5.1 using Tcl/Tk 8.4.11 an error
    results when a hexadecimal value is assigned to a scale
    variable. The error message is: "can't assign
    non-numeric value to scale variable".
    To reproduce:
    
         scale .s -variable foo
         set foo 0xff
    
    If the second line is replaced by:
    
        set foo 255
    
    no error results. I think that this is a bug in the MS
    Windows code since it is not only correct on my
    understanding of Tcl but works under Linux. Although I
    have thus far encountered the bug only using Tk, it
    appears to be a Tcl bug since whether a value is
    treated as numeric or not is a Tcl issue.
    
    
  4. foundin changed to: "obsolete: 8.4.11"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "billposer"
  9. subsystem changed to: "11. Conversions from String"
  10. title changed to:
    Error results from assignment of hex value to scale variable
    
  11. type changed to: "Bug"