Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-12-23
22:24 • Closed ticket [2911059fff]: Nit in Lesson 12, one possibility not explained ... artifact: b92ec43301 user: tallniel
2009-12-09
06:21 • Ticket [2911059fff]: 1 change artifact: 362e16dee6 user: andreas_kupries
06:20 • Ticket [2911059fff]: 1 change artifact: 9d8ebcde43 user: andreas_kupries
2009-12-08
23:20 • New ticket [2911059fff]. artifact: 1625cabcb0 user: andreas_kupries

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.