ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> incrtcl-develop
incrtcl-develop
[Incrtcl-develop] [ incrtcl-Bugs-2830946 ] info level 0 inside a method returns unexpected data
by SourceForge.net other posts by this author
Aug 1 2009 3:48PM messages near this date
[Incrtcl-develop] [ incrtcl-Bugs-2837655 ] Namespace import fails to properly create class commands | [Incrtcl-develop] [ incrtcl-Feature Requests-2821052 ] need matching itk 3.4b1 tarball
Bugs item #2830946, was opened at 2009-08-02 00:48
Message generated for change (Tracker Item Submitted) made by sbron
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=113244&aid=2830946&group_id=13244

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Other
Group: 4.0*
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Schelte Bron (sbron)
Assigned to: Arnulf Wiedemann (wiede)
Summary: info level 0 inside a method returns unexpected data

Initial Comment:
I frequently use [llength [info level 0]] to determine whether an optional argument was actu
ally passed to a proc or method. With Itcl 4.0b3 the result of [info level 0] has changed co
mpletely and makes this use impossible.

For example, the code below prints "namespace inscope ::myclass ::info level 0" with Itcl 4.
0b3 (tcl 8.6b1.1), while it prints "test" with 3.4 (tcl 8.5.4).

package require Itcl

itcl::class myclass {
    method test {{str ""}} {
        puts [info level 0]
    }
}

[myclass #auto] test


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=113244&aid=2830946&group_id=13244

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Incrtcl-develop mailing list
Incrtcl-develop@[...].net
https://lists.sourceforge.net/lists/listinfo/incrtcl-develop

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved