question about This
Brian V Hughes
brianvh at Dartmouth.EDU
Mon May 20 13:23:31 PDT 2002
--On 05/18/2002, Matt Neuburg wrote:
>Oh, all right, here. Make a #tools script called getThis, as follows:
>
> script.newscriptobject("return this", @tools^.myWeirdScript);
> return myWeirdScript()
>
>Make a web page object that goes:
>
> {getThis()}
>
>That works when rendering statically but not when rendering dynamically.
Well, I just did these exact steps and got the address of
myWeirdScript every time, for static and dynamic renderings of the
page object. In fact, the only time I was able to produce the error
message was when I use the address of a local variable for the new
script object.
-Brian
More information about the Frontier-Users
mailing list