Overview
| Artifact ID: | d48b2a9aed53e469cc94ffe96c58145725d9e49d |
|---|---|
| Ticket: | 1187123fffffffffffffffffffffffffffffffff
booleans break EIAS |
| User & Date: | msofer on 2005-04-21 19:01:27 |
Changes
- 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}]] - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"