Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d48b2a9aed53e469cc94ffe96c58145725d9e49d
Ticket: 1187123fffffffffffffffffffffffffffffffff
booleans break EIAS
User & Date: msofer on 2005-04-21 19:01:27
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Re the second comment: that is ok according to the docs. 
    
    The boolean operators take as arguments booleans *or*
    numbers, and produce an integer 0/1 result - according to
    both the [expr] man page and TEBC.
    
    [string is boolean] OTOH is supposed to only recognise the
    forms 0/1, yes/no, on/off and true/false according to the
    [string] and Tcl_GetBoolean manuals. In other words, 
       [string is boolean $x]
    is not supposed to coincide with
       [expr ![catch {expr $x && $x}]]
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"