Artifacts Associated With Ticket 503739ffffffffff
Ticket change [b34dfbd5f1] (rid 98510) by nobody on 2002-01-15 07:16:41:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
set abc(0) 1 if [info exist abc(1)] [unset abc(1)] This code fails in tcl8.4.
- foundin initialized to: "obsolete: 8.4a3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "None"
- title initialized to: "info exist in tcl8.4 fails"
- type initialized to: "Bug"
Ticket change [2f1d2cacc0] (rid 92999) by dkf on 2002-01-15 16:07:43:
- assignee changed to: "dkf"
- closedate changed to: "2002-01-15T09:07:43"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 This is *correct* behaviour according to Tcl's basic evaluation rules (as detailed in the Tcl(n) manpage.) The key problem with the code as written is that the unset command is surrounded by the wrong kind of brackets; the following works as intended: if [info exist abc(1)] {unset abc(1)} If the code in the report ever failed to error (without abc(1) previously being set to something) then that would constitute a bug. - login: "dkf"
- mimetype: "text/plain"
- priority changed to: "1 Zero"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- subsystem changed to: "45. Parsing and Eval"
- username: "dkf"