Welcome, guest! Did you know that Logical Gamers offers a variety of features to registered users? These include free giveaways, contests for prizes, a currency system, the ability to trade in the Marketplace, access to game hacks and exploits, and much more! Registration is quick, easy, and free!
Originally Posted by Chad You can just use switch statements. Yeah, but this is an example of an if else simple alternative, I use it when my if else's have one or two conditions. but yeah, for the example above a switch would be easier of course..
Last edited by HTML; 18 Oct. 2010 at 01:28am.
Forum Rules