Sidebar
On the page: https://www.tcl.tk/man/tcl/TclCmd/try.html It says: Handle different reasons for a file to not be openable for reading: But the file is opened with: set f [open /some/file/name w] This should be: set f [open /some/file/name r]