Tk Library Source Code

View Ticket
Login
Ticket UUID: 1949752
Title: Documentation - misprint
Type: Bug Version: None
Submitter: nobody Created on: 2008-04-23 14:19:17
Subsystem: ncgi Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Deleted Last Modified: 2008-04-23 23:29:35
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2008-04-23 16:29:35
Description:
http://tcllib.sourceforge.net/doc/ncgi.html:
...
::ncgi::exists name
    Returns 1 if the CGI variable name is not present.
...

In fact, it will return 1 if variable IS present and will return 0 if it's NOT. Obvious misprint in the documentation.
User Comments: andreas_kupries added on 2008-04-23 23:29:35:
Logged In: YES 
user_id=75003
Originator: NO

Confirmed the inconsistency.
I see the same doc error in the code itself.
Now fixed in the CVS head.