![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: Variables and Procedures scope
From: Donald Arseneau <asnd@triumf.ca>
Date: Sun Jul 31 2005 - 21:15:37 CEST
"Silas Justiniano" <silasju@gmail.com> writes:
> entry .mytop.myentry -variable globals::myvar
You seem to be thinking of namespaces as just another type of globals.
> var v2 #valid to all scopes below, but not for f1 and outside that
That is a namespace. You could create a proc to simplify creation
Anyway, the one thing for which I find namespaces indispensible
-- Donald Arseneau asnd@triumf.caReceived on Thu Sep 29 14:28:11 2005 |