05-19-2008, 09:29 PM
|
#1 (permalink)
|
|
The Frequenter
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
|
Changing Array Key Values
Well here we go again.  Obviously.
At the moment, I've got an array with the values 8, 4 and 2. Of course, accompanied by the keys 0, 1 and 2.
Now, since those keys can also address the roundtype, I can enter it as 1, 2 and 3. Which would be far more convenient than sending 1::8, 2::4, 3::2 and exploding it as I go.
So, how do I shift somewhat these keys?
__________________
"Life is a bitch, take that bitch on a ride"
|
|
|