Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 03ea9d57950839a90e05b0bf2f30c48690e3f954
Ticket: 3588512fffffffffffffffffffffffffffffffff
expr { ( ! true ) == false }
User & Date: heinrichmartin on 2012-11-20 14:15:21
Changes

  1. icomment:
    well, then the documentation is wrong - or at least misleading.
    
    expr (==,!=): "Boolean equal and not equal. Each operator produces a zero/one result. Valid for all operand types."
    
    btw. why are "expr" and "if" in different bug categories??
    
    another suggestion: is it useful to distinguish '0==false' (1) and '0=="false"' (0)? the parser knows about the boolean meaning of false - otherwise it would raise an invalid bareword exception! So, why is tcl using the string representation of false?
    
    
  2. login: "heinrichmartin"
  3. mimetype: "text/plain"
  4. username: "heinrichmartin"