The tcl command ">http://www.tcl.tk/man/tcl8.0/TclCmd/info.htm" target="_blank">info vars will return a list of all variables that are visible in context of that command's evaluation. This doesn't give a 'name = value' set, providing rather a Tcl list of names, but before diving into how to accomplish name/value pair listing, it might be better to understand why you are seeking to do this. Presumably it is to facilitate testing or debugging in some fashion. Are you attempting to see whether a particular variable is defined? For that, ">http://www.tcl.tk/man/tcl8.0/TclCmd/info.htm" target="_blank">info exists is a better choice.