Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-20
02:43 • Closed ticket [219395ffff]: unary not sign does not take no-numeric boolean ... artifact: 31a9ff5d35 user: dgp
02:41 • Open ticket [219395ffff]. artifact: b456d400b8 user: dgp
2000-11-08
06:45 • Ticket [219395ffff]: 6 changes artifact: 3d5d969e14 user: ericm
06:12 • Closed ticket [219395ffff]. artifact: ab408e15b6 user: ericm
2000-10-26
05:12 • New ticket [219395ffff]. artifact: 35ae951e2f user: nobody

unary not sign does not take no-numeric boolean

Closed / Duplicate219395ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 05:12:20
OriginalBugID: 6188 Bug
Version: 8.3.2
SubmitDate: '2000-08-31'
LastModified: '2000-10-25'
Severity: MED
Status: UnAssn
Submitter: techsupp
OS: Windows NT
Machine: Is reproduceable on multiple platforms.
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
David Vice

Comments:
work around:
    
    set notX [expr {!($x && 1)}]

ReproducibleScript:
set x "TRUE"
set notX [expr {!$x}]

ObservedBehavior:
expr errors with can't use non-numeric string as operand of "!"

also errorCode says NONE

DesiredBehavior:
notX should have value of 0
ericmplain2000-11-08 06:12:43
This bug is a duplicate of bug #119153.

Eric Melski
Interwoven, Inc.
[email protected]
ericmplain2000-11-08 06:45:59
This bug is a duplicate of bug #119153.

Eric Melski
Interwoven, Inc.
[email protected]
dgp Open ticket [219395ffff]. [History diff]2001-04-20 02:41:29
dgp Closed ticket [219395ffff]. [History diff]2001-04-20 02:43:50
Log in (anonymous is fine) to add a comment.