To the list:

I need to attach this script to three buttons:

global aList

on mouseUp me
  spotCheck = getOne(aList, 0)
  if spotCheck <> 0 then
    setAt(aList, spotCheck, new(script "aScript", spotCheck + 5, "circle 
shape"))
  end if
end

The only things that must be different in the four are the strings.  "circle 
shape", "square shape", "triangle shape" & a random choice.

I want to write one script that can be attached to all 4 buttons with 
(maybe?) and if/then loop?

How would I say "If the button pressed is the circle button, please generate 
a circle into my list...etc...)

-NT

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


[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