Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 80e0d75f3d771f313c60abc03db6cca33fba9212
Ticket: 2142989fffffffffffffffffffffffffffffffff
add examples to the [catch] man page
User & Date: yurivict on 2008-10-03 04:43:38
Changes

  1. icomment:
    Makes sense: 'catch' has 5 possible return values (0..4).
    
    Then I suggest you add another example of basic 'catch' usage in EXAMPLES section of catch(n) demonstrating all 5 return values.
    Otherwise people look at the example (if {[catch...]} {...exit...}) and get misled by it's simplicity.
    
    
  2. login: "yurivict"
  3. mimetype: "text/plain"
  4. status changed to: "Open"
  5. username: "yurivict"