I want to print the contents of an array in Tcl (for debugging). The order is unimportant, I just want every value printed.
How do I do it?
I want to print the contents of an array in Tcl (for debugging). The order is unimportant, I just want every value printed.
How do I do it?
© 2022 - 2024 — McMap. All rights reserved.
parray
is just a procedure; you can useinfo body
to see how it works (it usesarray names
,lsort
,foreach
andformat
…) – Bourgeoisie