What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Shorter code for this? :S

Shorter code for this? :S
Author: Message:
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
38 / Male / Flag
Joined: Jul 2005
RE: Shorter code for this? :S
well, IIRC, this code:
code:
othellier[0][0]= ' ' ;
othellier[0][1]= 'A' ;
othellier[0][2]= 'B' ;
othellier[0][3]= 'C' ;
othellier[0][4]= 'D' ;
othellier[0][5]= 'E' ;
othellier[0][6]= 'F' ;
othellier[0][7]= 'G' ;
othellier[0][8]= 'H' ;
othellier[0][9]= ' ' ;

othellier[9][0]= ' ' ;
othellier[9][1]= 'A' ;
othellier[9][2]= 'B' ;
othellier[9][3]= 'C' ;
othellier[9][4]= 'D' ;
othellier[9][5]= 'E' ;
othellier[9][6]= 'F' ;
othellier[9][7]= 'G' ;
othellier[9][8]= 'H' ;
othellier[9][9]= ' ' ;
can be replaced with this
code:
othellier[0]=new Array(' ', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', ' ');
othellier[9]=new Array(' ', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', ' ');

not too sure though...

does your own code work?
02-11-2007 04:29 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Shorter code for this? :S - by albert on 02-11-2007 at 04:16 PM
RE: Shorter code for this? :S - by Jesus on 02-11-2007 at 04:29 PM
RE: Shorter code for this? :S - by albert on 02-11-2007 at 04:34 PM
RE: Shorter code for this? :S - by vikke on 02-11-2007 at 05:56 PM
RE: Shorter code for this? :S - by RaceProUK on 02-11-2007 at 09:53 PM
RE: Shorter code for this? :S - by vikke on 02-12-2007 at 11:16 AM
RE: Shorter code for this? :S - by RaceProUK on 02-13-2007 at 04:59 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