Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9452533a921721e213e4be3e6f91b05454603cfe43b8c0d6a2d98a782d8628d1
Ticket: f4d15772f1c4ede2d7206ae2553c697afb0f4824
foreach wraps around loop counter for large lists
User & Date: apnadkarni on 2023-04-19 16:26:04
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    foreach loop counter wraps around
    
    ```
    % set l [testbigdata list 0x100000001]; llength $l
    4294967297
    % set n 0
    0
    % foreach e $l {incr n}
    % set n
    1
    ```
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to: "foreach wraps around loop counter"
  16. type changed to: "Bug"