Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-01-17
01:40 • Closed ticket [218273ffff]: suggestion: lcompare and lsearch -lcompare plu... artifact: fab2f95775 user: hobbs
2001-04-19
02:42 • Ticket [218273ffff]: 1 change artifact: 0ebc455031 user: dgp
02:42 • Open ticket [218273ffff]. artifact: 123e762d7f user: dgp
2000-10-26
08:17 • Closed ticket [218273ffff]. artifact: ff5d66eccd user: welch
00:55 • New ticket [218273ffff]. artifact: 5e254a570c user: nobody

suggestion: [lcompare] and lsearch -lcompare

Closed / Duplicate218273ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 00:55:19
OriginalBugID: 3360 RFE
Version: 8.2
SubmitDate: '1999-11-05'
LastModified: '1999-12-03'
Severity: LOW
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 95
FixedDate: '2000-10-25'
ClosedDate: '1999-12-03'


Name:
keith lea

DesiredBehavior:
a command to compare each element of 2 lists..return 1 if each element
    is equal; 0 if they are not.
    
    also, one could use this functionality in lsearch: lsearch -lcompare
    -glob $whatever {a * c}



You can use [string equal], which converts the objects to
strings, but gets the job done.  Better list commands are
being considered in the future. 
-- 12/03/1999 hobbs
welch Closed ticket [218273ffff]. [History diff]2000-10-26 08:17:57
dgp Open ticket [218273ffff]. [History diff]2001-04-19 02:42:05
dgp Ticket [218273ffff]: 1 change [History diff]2001-04-19 02:42:41
hobbsplain2002-01-17 01:40:32
Logged In: YES 
user_id=72656

see also 219176.
Log in (anonymous is fine) to add a comment.