Posted to tcl by de at Thu Nov 23 01:05:54 GMT 2017view raw
- proc gencode {nr} {
- set code ""
- for {set i 0} {$i < $nr} {incr i} {
- append code "catch \{"
- }
- append code "set a foo"
- for {set i 0} {$i < $nr} {incr i} {
- append code "\}"
- }
- return $code
- }
- puts [eval [gencode 100]]
- puts [eval [gencode 1000]]
- puts [eval [gencode 10000]]
Comments
Posted by dgp at Tue Nov 28 05:56:30 GMT 2017 [text] [code]
fossil bisect points blame at bf171b6b510ab59b