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-users
incrtcl-users
[Incrtcl-users] reference obj outside scope
by Prabhu Seshachellam other posts by this author
Aug 14 2006 3:55PM messages near this date
Re: [Incrtcl-users] I got this wierd letter | Re: [Incrtcl-users] reference obj outside scope
Hi!

Is it possible to instantiate a object of class X inside the method ABC of
another class Y & keep that object active
so that i can reference it outside of method ABC  (i.e reference in another
method) ?

The "uplevel" command helps to solve this problem, by instantiating the
object of class X in the caller's context.
But, i would like to have it in a global space so that any methods/proc can
reference it later.

thanks
/prabhu
Thread:
Prabhu Seshachellam
Brian Griffin

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