Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 40620eeb717e6dc73dbd79887ba7e46aeff06be2
Ticket: 1991477fffffffffffffffffffffffffffffffff
documentation of [return] is misleading
User & Date: nobody on 2008-06-12 01:55:28
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Regarding the -code option to [return], the manual states:  "return (2)   The return code of the procedure is 2  (TCL_RETURN).   The procedure  command behaves in its calling context as if it were the command return (with no arguments)."
    
    This would imply that no *value* argument could be supplied to the [return -code return] form to be returned from the procedure command's caller.
    
    It would be more clear to specify more precisely which arguments would be present in the hypothetical return in the parent.
    
    Colin.
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "18. Commands M-Z"
  11. title changed to: "documentation of [return] is misleading"
  12. type changed to: "Bug"