Posted to tcl by oldlaptop at Tue Nov 23 19:39:26 GMT 2021view raw
- % set a [list "#1st" "#2nd"]; set b [list "#3rd" "#4rt"]; dict set d [concat $a $b] "val-A"
- {{#1st} #2nd {#3rd} #4rt} val-A
- % set a [list "#1st" "#2nd"]; set b [list "#3rd" "#4rt"]; string length $b; dict set d [concat $a $b] "val-B"
- {{#1st} #2nd {#3rd} #4rt} val-B
- %