Thread: {} vs ||
View Single Post
  #1  
Old 06-10-2007, 03:17 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
{} vs ||

I've came across two different ways to do a few things for instance I can do

PHP Code:
 extent = { 3232}; 
or
PHP Code:
 extent "32 32"
aswell as

PHP Code:
 if (this.x in |032|) { 
or
PHP Code:
 if (this.x in {032}) { 
both methods do the same thing so my question is why are 2+ different ways to do the same thing? Wouldn't it be simpler to just have one way so people don't get confused and such, or is there some other reason that I can not see because of my ignorance? Just curious thats all.
__________________
Deep into the Darkness peering...
Reply With Quote