>put sprite(1).member.line[1] --text member
>--This is Line 1.
>put "XX" after sprite(1).member.line[1]
>Script Error: Wrong Type
>
>(In other words, the example in the article about "put... after" on 
>p. 403 of Lingo Dictionary produces an error when used with my text 
>member.)

Are you sure that's what the help says? The online help doesn't, but 
you could be left thinking that your line should work. The help says 
that you can put after member.line[n], but you're trying to put after 
sprite(x).member.line[n], which is two references away. The put may 
be trying to evaluate something to do with the sprite.

You can do what you want by making the reference clear, like this:

put "XX" after (sprite(1).member).line[1]


[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!]

Reply via email to