Artifacts Associated With Ticket 536838ffffffffff
Ticket change [a9597cfa6b] (rid 99136) by dgp on 2002-03-29 18:39:25:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
It should be noted that the -no* options to [subst] only influence the "top level" of substitution. Even with -novar, variable substitutions do take place with command substitutions, and even with -nocommands, command substitutions do take place within variable substitutions (array indices). % set a 1 1 % subst -novar {$a [string equal $a 1]} $a 1 % proc b {} {return c} % array set foo {c c b b [b] tricky} % subst -nocommands {[b]$foo([b])} [b]c - foundin initialized to: "obsolete: 8.4a5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to: "[subst] doc clarification"
- type initialized to: "Bug"
Ticket change [6197c09485] (rid 92267) by dgp on 2002-03-30 01:57:46:
- icomment:
Logged In: YES user_id=80530 It should also be noted that [subst] can only have a return code of TCL_OK or TCL_ERROR. If a substitution yields some other return code, notably TCL_RETURN, but other extended return codes as well, they are effectively converted to TCL_OK. I seem to recall Brent Welch wishing for a means to return extended return codes from [subst] for use in web page template processing so that something like subst { # lots of template stuff with a return -code 404 "Page not found" # blah } could be used. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d03528ecc7] (rid 113133) by dgp on 2002-03-30 02:28:10:
- icomment:
Logged In: YES user_id=80530 Actually, [return] acts much like [continue]. Said another way, [continue] is equivalent to [return ""]. Extended return codes too.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [b087f40ddf] (rid 97998) by dkf on 2002-04-05 15:46:41:
- icomment:
Logged In: YES user_id=79902 Care to submit a detailed description of what you're after?
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Add attachment "sdoc.patch" [73bad2478c] (rid 105089) by dgp on 2002-04-06 04:19:20.
Ticket change [36e249bef1] (rid 107178) by dgp on 2002-04-06 04:19:20:
- icomment:
File Added - 20637: sdoc.patch Logged In: YES user_id=80530 Here's a patch.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [f96725e60b] (rid 91702) by dkf on 2002-04-18 20:28:16:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=79902 Documentation change looks good to me; assigning back to you for application. (I was actually interested in what was meant by the handling of TCL_RETURN, though I'd like to note that I've always found it easier to pass that sort of thing using the ::errorCode variable.)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [a74edff493] (rid 98769) by dgp on 2002-04-18 23:31:54:
- closedate changed to: "2002-04-18T16:31:54"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 committed to HEAD (8.4a5)
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"