Answers for "tcl get list of variables"

0

tcl get list of variables

# print list of all variables to terminal:
puts [info vars];
# search for a variable and return index in [info vars]:
lsearch [info vars] tcl_version
Posted by: Guest on December-07-2020

Browse Popular Code Answers by Language