Overdriven
Dumpster Fire of The South
- Joined
- Jan 23, 2004
- Messages
- 12,758
I've got a question.
What I've done so far:
I've created an array, supports 7 different items. I can get said items to list in the order, no problem.
Now (Not sure what it is, the pop/push methods?) I'm not sure how to do this:
I need item in position 0 to move/'leave' the array, item in positon 1 to move to 0 and so fourth (so eventually each item will leave, and come back but starting at the end of the 'que') .. and I need to be able to display that.
I've got other stuff after that, such as having to be able to add to a random part of the arraay, if there is space, moving items backwards to make room.. but that's for a different time.
Any advise? (Or should I just learn pop/push?)
Cheers.
What I've done so far:
I've created an array, supports 7 different items. I can get said items to list in the order, no problem.
Now (Not sure what it is, the pop/push methods?) I'm not sure how to do this:
I need item in position 0 to move/'leave' the array, item in positon 1 to move to 0 and so fourth (so eventually each item will leave, and come back but starting at the end of the 'que') .. and I need to be able to display that.
I've got other stuff after that, such as having to be able to add to a random part of the arraay, if there is space, moving items backwards to make room.. but that's for a different time.
Any advise? (Or should I just learn pop/push?)
Cheers.