Solved it - I'd put the handler in a movie script rather than an object
On Friday, August 17, 2001, at 12:16 PM, Pete Carss wrote:
> I don't know if this is a bug but:
>
> I'm trying to output all the behaviour, parent script, movie
> script, member names into the message window so that I can prepare a
> spreadsheet of them.
> I thought I'd found a solution in:
>
> on spewNames me, whichcast
> put whichcast
> counter = the number of members of castLib whichcast
> repeat with j = 1 to counter
> put the name of member j of castlib whichcast
> end repeat
> end
>
> I started out with dot syntax, but that started giving errors all
> over the place. This handler fails when the counter gets to 6, but the
> error I get is that castlib 6 couldn't be found. Also this doesn't
> happen every time. Sometimes it works fine but regardless of which cast
> I specify it looks at the default cast "internal".
>
> Any Ideas?
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]