Hello,
I am new to tcl programming and I am trying to write a tcl code to do list of every possible combinations of lists to build a table:
list 1 {a,b,c} 2 {d,e,f} 3 {g,h}
output:
a,d,g
a,d,h
a,e,g
a,e,h
a,f,g
a,f,h
b,d,g
b,d,h
...
Thanks for your help
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.