Tcl Source Code

View Ticket
Login
Ticket UUID: 5507a9c0964674985b0f975eee8cd74f62a138fc
Title: Small error on https://www.tcl.tk/man/tcl/TclCmd/try.html
Type: Bug Version: 8.6.11
Submitter: pointsman Created on: 2021-12-08 23:46:16
Subsystem: 69. Other Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2021-12-18 15:04:43
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2021-12-18 15:04:43
Description:
From: Cecil Westerhof <[email protected]>
Subject: Small error on https://www.tcl.tk/man/tcl/TclCmd/try.html
Newsgroups: comp.lang.tcl
Date: Wed, 08 Dec 2021 21:25:43 +0100 (3 hours, 8 minutes, 57 seconds ago)
Organization: Decebal Computing

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]
User Comments: jan.nijtmans added on 2021-12-18 15:04:43:

Fixed [11ab94a452|here]. Thanks for the report!