Hey Guys,
thanks for all your help thus far, really learning
alot!
I have a ListArray called lines 2 which contains some info, now i can print all the information in the ListArray out easily from position 0 to the end of the array doing as follows;
Works grand but i want to print from the end of the list to the top starting at the last bit of information in the ListArray, i tried this;
[/code]
for (int i = lines2.size(); i > 0; i--)
{
System.out.println(lines2.get(i));
}
[/code]
But it causes an error, I thought by making i equal the size of the array and having as long as i is greater than 0 to decrement down to 0 from the end of the list it would print i from last position in array, am i thinking about it wrong?
Thanks Mark