Skip to content
Tcl Source Code History Of Ticket 536838ffffffffff
Login

History Of Ticket 536838ffffffffff

Artifacts Associated With Ticket 536838ffffffffff

  1. Ticket change [a9597cfa6b] (rid 99136) by dgp on 2002-03-29 18:39:25:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "obsolete: 8.4a5"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "18. Commands M-Z"
    10. title initialized to: "[subst] doc clarification"
    11. type initialized to: "Bug"
  2. Ticket change [6197c09485] (rid 92267) by dgp on 2002-03-30 01:57:46:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [d03528ecc7] (rid 113133) by dgp on 2002-03-30 02:28:10:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [b087f40ddf] (rid 97998) by dkf on 2002-04-05 15:46:41:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Care to submit a detailed description of what you're after?
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Add attachment "sdoc.patch" [73bad2478c] (rid 105089) by dgp on 2002-04-06 04:19:20.

  6. Ticket change [36e249bef1] (rid 107178) by dgp on 2002-04-06 04:19:20:

    1. icomment:
      
      
      File Added - 20637: sdoc.patch
      
      Logged In: YES 
      user_id=80530
      
      Here's a patch.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [f96725e60b] (rid 91702) by dkf on 2002-04-18 20:28:16:

    1. assignee changed to: "dgp"
    2. 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.)
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. username: "dkf"
  8. Ticket change [a74edff493] (rid 98769) by dgp on 2002-04-18 23:31:54:

    1. closedate changed to: "2002-04-18T16:31:54"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      committed to HEAD (8.4a5)
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"