Comparign lists

I have created 2 lists with different sets of values. Now i need to compare if the lists contain same values or not. So i need to know how can i compare two lists.

Its like:

List1(1)=Item1.

List1(2)=Item2 and so on. And similarly list2(1)=Item5,

List2(2)=Item6. So now i need to find if list1(1)=list2(1) ans similarly for other values corresponding to each other.

Is it possible to do it.

Subject: Comparign lists

You need to check element by element.

Subject: RE: Comparign lists

How do i get an element out of that list… In this case isn’t list1(1) an element… If it is not then wat wud be element…

Subject: RE: Comparign lists

List tags are strings, not integers: List1(“1”).