>
> In a dictionary application, the user clicks on a word, thus
> a variable called gLookup is populated with that word
>
> The problem is when a definition isn't in the cast. How do I
> write the error checking to compensate?
Sharon,
Prior to setting the member of sprite(15) you should check to make sure
it exists. Try this instead:
on mouseUp me
if the number of member glookup <> -1 then
sprite(15).member = member glookup
end if
end
<br />
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]