Tcl Source Code

View Ticket
Login
Ticket UUID: 3ce04c18738e89bacfaf64a2a0df44e6c9626546
Title: Return command documentation RETRUN OPTION section "misleading"
Type: Bug Created on: 2013-08-26 16:11:39
Submitter: gwlester Assigned to: nobody
Subsystem: 18. Commands M-Z Severity: Minor
Priority: 5 Medium Last modified: 2013-08-26 16:11:39
Status: Open Closed by: nobody
Resolution: None Closed on:
Version:
Description:
The -errorcode and -errorinfo section of the return document not 100% correct.  The variables are not set in the following case:
    catch {return -code error -errorinfo {Oh no!} -errorcode {foo bar} foobar}

The man page needs to *CLEARLY* state when they are and are not set.