Skip to content
Tcl Source Code History Of Ticket 1801314
Login

History Of Ticket 1801314

Artifacts Associated With Ticket 1801314

  1. Ticket change [741894a02c] (rid 105145) by nobody on 2007-09-24 16:41:34:

    1. assignee initialized to: "davidw"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      #
      # A dangerous example: due to the extra round of substitution,
      # the script stops
      #
      set y {[exit]}
      if "$$y != 1" {
          puts "$$y is != 1"
      } else {
          puts "$$y is 1"
      }
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nobody"
    10. subsystem initialized to: "75. Tutorial"
    11. title initialized to:
      Numeric Comparisons 101 - if: Error in example code
      
    12. type initialized to: "Bug"
  2. Ticket change [cf3ba5453f] (rid 112935) by nobody on 2007-09-24 23:42:52:

    1. icomment:
      Logged In: NO 
      
      I believe the dangerous line should read:
      if "$y != 1" {
      To cause the evaluation of exit after substitution.
      
      
    2. login: "[email protected]"
    3. mimetype: "text/plain"
    4. username: "[email protected]"