Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d75614f4b59227feec1556207139e46dbc595a82
Ticket: 818100ffffffffffffffffffffffffffffffffff
not all equal booleans are equivalent
User & Date: dkf on 2003-10-06 06:07:51
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    It's not clear to me whether 0 and false should be equal in
    the context of the == operator.  Indeed, == is defined (as
    are many other [expr] operators) to operate on
    preferentially numbers, and otherwise strings.  In terms of
    that, "false" is not numeric, and "0" is a clearly different
    string.
    
    IMO it's not a bug.  Just a misreading of the manual by the
    person submitting.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. resolution changed to: "Invalid"
  5. status changed to: "Closed"
  6. subsystem changed to: "47. Bytecode Compiler"
  7. username: "dkf"