Mark It's all new for me, so what is the difference? I took the routine the closest to OpenScript. I agree the switch structure looks very good. Rob
----------
At 03:24 25/2/2005, Mark Wieder wrote:
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
[EMAIL PROTECTED]
www.japrosoft.com
no more spam: Mailwasher Pro
http://www.firetrust.com/products/pro/
and please mention my emailaddress... _______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution
