Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Nit in Lesson 12, one possibility not explained

Closed / Fixed2911059fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-12-08 23:20:06
-------- 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.
andreas_kupries Ticket [2911059fff]: 1 change [History diff]2009-12-09 06:20:27
andreas_kupries Ticket [2911059fff]: 1 change [History diff]2009-12-09 06:21:44
tallnielplain2009-12-23 22:24:29
allow_comments - 1

Applied fix to CVS HEAD. Thanks Andreas.
Log in (anonymous is fine) to add a comment.