question about This

Sam DeVore sdevore at teachesme.com
Sat May 18 14:53:33 PDT 2002


On 5/18/02 12:56 PM, "Matt Neuburg" <matt at tidbits.com> 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.
>
Matt I tried this in radio (made the script in user.html.macros) in the
desktop home page (rendered dynamically) error was [Macro error: Can't
evaluate the expression because the name "this" hasn't been defined.]

In the upstreamed file error is also there

[Macro error: Can't evaluate the expression because the name "this" hasn't
been defined.]


Sam D




More information about the Frontier-Users mailing list