Overview
| Artifact ID: | 56ec2296eb0ccf0387d2b9800c457f5943726f76cf01ebb547606a2456cd9750 |
|---|---|
| Ticket: | 8d1fc70995703e6727591d7179833a4a1970d6a5
lseq "count" error persists across calls |
| User & Date: | apnadkarni on 2026-01-14 17:30:50 |
Changes
- icomment:
And in fact, the error can be reproduced in a script as well. The argument just has to have a reference count > 1. x.tcl: ``` set count count puts [catch {lseq 0 $count 5} result],$result puts [catch {lseq $count 5} result],$result puts [catch {lseq 0 $count 5} result],$result ``` Running it, ``` c:\src\tcltk\wip\tcl\win>tclsh x.tcl 0,0 1 2 3 4 1,invalid bareword "count" in expression "count"; should be "$count" or "{count}" or "count(...)" or ... 1,invalid bareword "count" in expression "count"; should be "$count" or "{count}" or "count(...)" or ... ``` - login: "apnadkarni"
- mimetype: "text/x-markdown"