Re: [Tutor] Getting name scope

2005-10-05 Thread Bernard Lebel
Thanks for the answer. I have to confess this question is driven only by curiosity, I was not even hoping to get such a function. I was reading some stuff about the scopes in JScript and somehow this question arose in my mind. For the record, the tutorial I am watching said that a name exists *on

Re: [Tutor] Getting name scope

2005-10-05 Thread Kent Johnson
Bernard Lebel wrote: > Hello, > > Anyone know if it is possible to find out in what scope lies a name? > For instance, let say I'm using a name in a function, but the name is > actually in the global scope. I would like to know if this name was > found in what scope. Is it possible at all? Look f