What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Is this possible to make?

Is this possible to make?
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Is this possible to make?
quote:
Originally posted by billyy
I noticed it was possible, i just don't see the difference...
It's only easyer to read for people who... well...
it's just easyer for me >:l
Using Switch is shorter code and it is much faster code in execution.

Each time you do Else If Messenger.MyStatus, the interpreter needs to look up Messenger.MyStatus. This is of course useless because that variable isn't going to change between the If Then Else's.

Using a Switch statement makes that Messenger.MyStatus only needs to be looked up once.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-01-2010 12:50 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Is this possible to make? - by Barathrum on 02-28-2010 at 04:53 PM
RE: Is this possible to make? - by Felu on 02-28-2010 at 04:56 PM
RE: Is this possible to make? - by billyy on 02-28-2010 at 05:45 PM
RE: Is this possible to make? - by roflmao456 on 02-28-2010 at 05:55 PM
RE: Is this possible to make? - by billyy on 02-28-2010 at 05:57 PM
RE: Is this possible to make? - by CookieRevised on 02-28-2010 at 06:37 PM
RE: Is this possible to make? - by Felu on 02-28-2010 at 06:39 PM
RE: Is this possible to make? - by billyy on 02-28-2010 at 06:47 PM
RE: Is this possible to make? - by foaly on 02-28-2010 at 08:09 PM
RE: Is this possible to make? - by billyy on 02-28-2010 at 08:34 PM
RE: Is this possible to make? - by whiz on 02-28-2010 at 09:23 PM
RE: Is this possible to make? - by billyy on 02-28-2010 at 09:26 PM
RE: Is this possible to make? - by CookieRevised on 03-01-2010 at 12:50 AM
RE: Is this possible to make? - by djdannyp on 03-01-2010 at 11:21 AM
RE: Is this possible to make? - by Barathrum on 03-01-2010 at 03:19 PM
RE: Is this possible to make? - by Spunky on 03-01-2010 at 03:45 PM
RE: Is this possible to make? - by billyy on 03-01-2010 at 04:59 PM
RE: Is this possible to make? - by CookieRevised on 03-01-2010 at 09:05 PM
RE: Is this possible to make? - by billyy on 03-02-2010 at 06:30 AM
RE: Is this possible to make? - by matty on 03-02-2010 at 02:10 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On