Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-05-31
08:55 • Closed ticket [882238ffff]: 'in' operator for expr (TIP #133) plus... artifact: dc714b499d user: hobbs
2004-01-22
23:55 • Add attachment expr-in.patch to ticket [882238ffff] artifact: 7c62580866 user: rmax
23:55 • Ticket [882238ffff] 'in' operator for expr (TIP #133) status still... artifact: 4bc2ee7484 user: rmax
16:55 • New ticket [882238ffff]. artifact: aa4d302fed user: rmax

'in' operator for [expr] (TIP #133)

Closed / Fixed882238ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 22 years ago
Descriptionplain2004-01-22 16:55:37
This patch is my first attempt on a partial
implementation of TIP #133. It adds the implementation,
tests, and documentation for an 'in' operator to [expr].

As this is my first look into [expr] and bytecode
stuff, I am pretty sure, there are more efficient
and/or elegant ways to implement this. So please feel
free to tell me how it can be done better.

Even though 'not in' is already possible as !($string
in $list), I intend to add a '!in' operator to this
patch later on as the code matures.
rmaxplain2004-01-22 23:55:38
File Added - 74394: expr-in.patch
hobbsplain2005-05-31 08:55:40
Logged In: YES 
user_id=72656

ni and in are in 8.5 now.
Log in (anonymous is fine) to add a comment.

Attachments: