• Small error on https://www.tcl.tk/man/tcl/TclCmd/try.html

    From Cecil Westerhof@21:1/5 to All on Wed Dec 8 21:25:43 2021
    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]
    ^
    |

    --
    Cecil Westerhof
    Senior Software Engineer
    LinkedIn: http://www.linkedin.com/in/cecilwesterhof

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rolf Ade@21:1/5 to Cecil Westerhof on Thu Dec 9 00:47:15 2021
    Cecil Westerhof <Cecil@decebal.nl> writes:
    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]

    https://core.tcl-lang.org/tcl/tktview/5507a9c09646

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)