question about This

Eric Soroos eric-ul at soroos.net
Fri May 10 10:21:34 PDT 2002


On Fri, 10 May 2002 09:54:40 -0700 in message 
<p05111704b901aabb7e84@[64.162.178.225]>, Matt Neuburg 
<matt at tidbits.com> wrote:
> If I use the keyword "this" in a script in #tools that is called as a 
macro
> call, it works - "this" is the address of the script itself, as expected.
> 
> But only in a static site. That's what I don't understand.
> 
> If I do the same thing in a dynamic site (in other words, one that is
> rendered and served by Frontier, live, through mainResponder), it 
doesn't
> work; "this" is reported as undefined. Why is that? And when did this
> happen? Is there some sort of subtle breakage here? Or was it 
always this
> way and I just never noticed?
>

There was a change in the sometime frontier 8 beta process (iirc) that 
did lazy evaluation of this so that it was only computed if used. 

eric





More information about the Frontier-Users mailing list