Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1625cabcb0c74e98c4c04e88ef41722809bca6fe
Ticket: 2911059fffffffffffffffffffffffffffffffff
Nit in Lesson 12, one possibility not explained
User & Date: andreas_kupries on 2009-12-08 23:20:06
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    -------- Original Message --------
    Subject:     [Tcl] Minor fix in documentation page - Tcl12.html
    Date:     Mon, 2 Nov 2009 16:03:39 +0100
    From:     Alfonso GarcĂ­a <[email protected]>
    To:     [email protected]
    
    
    
    Hello,
    
    reading the Tcl documentation I've found an incomplete explanation in
    the following page:
    
    http://www.tcl.tk/man/tcl/tutorial/Tcl12.html
    
    In the paragraph:
    
    "Since there are default arguments for the |b| and |c| variables, you
    could call the procedure one of three ways: |justdoit 10|, which would
    set |a| to 10, and leave |b| set to its default 1, and |c| at -1.
    |justdoit 10 20| would likewise set |b| to 20, and leave C to its default."
    
    The third option is not explained, even if is obvious. (Calling with 3
    parameters avoiding default values.)
    This is a very minor improvement to do in order to reach the perfection
    in this wonderful documentation.
    
    Thanks in advance,
    Alfonso. 
    -----
    
    I have added
    
    Or call it with all three parameters set to avoid any defaults. 
    
    in our local html copy of lesson 12. This bug serves as reminder to update the original .lsn too.
    
  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: "andreas_kupries"
  10. subsystem changed to: "None"
  11. title changed to: "Nit in Lesson 12, one possibility not explained"
  12. type changed to: "Bug"