Quote:
|
Originally Posted by Greigorama
Hi there,
I would like to know how i can write an array where data coming into the array gets put in index 0 while the rest of the data in the array moves up an index place.
Any help anyone can offer would be much appreciated.
|
IF YOU CAN PROGRAM IN JAVA, USE A VECTOR. IT HAS BUILT-IN CAPABILITY OF AUTOMATICALLY SHIFTING CONTENTS WHEN YOU INSERT AT A SPECIFIC
INDEX. OTHERWISE, YOU WILL BE GOING THROUGH MANY LOOPS IF YOU USE VB.NET.