Thread: arrays
View Single Post
  #1 (permalink)  
Old July 26th, 2003, 05:40 PM
Moharo Moharo is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 101
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Moharo
Default arrays

is there a function that will shift its values to different indecies?for example:

myarray = Array();
myarray[0] = 0;
myarray[1] = 1;
myarray[2] = 2;
myarray[3] = 3;

can be changed to:

myarray[0] = 1;
myarray[1] = 2;
myarray[2] = 3;
myarray[3] = 0;

thanks

the genuine genius
__________________
www.campusgrind.com - college portal
Reply With Quote