Archive of UserLand's first discussion group, started October 5, 1998.

Re: Console Can't find a sub-table named

Author:Mark Gillingham
Posted:6/13/1999; 4:33:47 PM
Topic:Console Can't find a sub-table named "t"
Msg #:7323 (In response to 7321)
Prev/Next:7322 / 7324

"Can't complie because of syntax error"

When I comment out the "else" clause, the syntax is good.

I'll repaste the script below so you can see if it translated from text to script odb and back ok:

local (oldpta = nil, s);

try ;

oldpta = html.getPageTableAddress ()};

try ;

local (t);

new (tabletype, @t);

local (pta = @t);

html.setPageTableAddress (pta);

html.buildPageTable (this, pta);

s = parentof(parentof(this^)^)^.default ()}

else ;

if oldpta != nil;

html.setPageTableAddress (oldpta);

scripterror (tryerror)};

if oldpta != nil ;

html.setPageTableAddress (oldpta)};

return (s)

This page was archived on 6/13/2001; 4:50:46 PM.

© Copyright 1998-2001 UserLand Software, Inc.