Thread: Some questions
View Single Post
  #4  
Old 05-01-2011, 12:16 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by papajchris View Post
Thanks that link had great examples, final question and i think i got this part understood.

Could you do this

PHP Code:
for player.colorsBodyParts.index(BodyParts)] = tokens[1]; 
instead of

PHP Code:
for (iBodyPartsplayer.colorsBodyParts.indexi)] = tokens[1]; 
no.

for (element: array) { }
__________________
Quote:
Reply With Quote