Re: Getting proc to recognize all global variables

From: Cameron Laird (claird_at_lairds.com)
Date: 02/12/04


Date: Thu, 12 Feb 2004 13:19:16 -0000

In article <402b9c6a@news.greennet.net>,
David McClamrock <mcclamrock@locl.net> wrote:
>Would somebody please remind me how (or whether) it's possible to get a proc
>to recognize all variables in the global scope, even if the variables
>aren't mentioned by name in the proc itself? If so, thanks in advance!
>
>David McClamrock

Does
  puts [info glob *]
bring you closer to where you want to be?

-- 
Cameron Laird <claird@phaseit.net>
Business:  http://www.Phaseit.net


Relevant Pages

  • Re: Getting proc to recognize all global variables
    ... David McClamrock wrote: ... > Would somebody please remind me how it's possible to get a proc ... > to recognize all variables in the global scope, ...
    (comp.lang.tcl)
  • Re: Use "range," not "for"?
    ... David McClamrock wrote: ... > Instead of writing this: ... It demonstrates an "integer range generator" proc called ... how to neatly handle executing a script body that's passed as an ...
    (comp.lang.tcl)
  • Re: Getting proc to recognize all global variables
    ... David McClamrock writes: ... > Would somebody please remind me how it's possible to ... > the variables aren't mentioned by name in the proc itself? ... You can execute your code in the global scope with. ...
    (comp.lang.tcl)
  • Re: Getting proc to recognize all global variables
    ... proc allglobs { ... David McClamrock wrote: ... > Would somebody please remind me how it's possible to get a proc ...
    (comp.lang.tcl)
  • Getting proc to recognize all global variables
    ... Would somebody please remind me how it's possible to get a proc ... to recognize all variables in the global scope, ... David McClamrock ...
    (comp.lang.tcl)