Rob-
Thursday, February 24, 2005, 1:38:29 PM, you wrote:
RM> global scriptflag
RM> on mouseUp
RM> if scriptflag="gocard" then
RM> send gocard
RM> else if scriptflag=.....
RM> send...
RM> else if scriptflag=.....
RM> send...
RM> end if
RM> end mouseUp
If you're going this route, check out the switch statement.
Er... and the break statement.
on mouseUp
switch scriptflag
case "gocard"
send gocard
break
case "something else"
DoSomethingElse
break
default
put "should never get here" into errorLog
break
end switch
end mouseUp
--
-Mark Wieder
[EMAIL PROTECTED]
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution