Hi,
I don't understand what exactly you want to do and also your example function is surely not in your code, because it causes an error on compilation. If you want to use the whole list as parameter (not just the current element, which would also need a different procedure-description), you need to use it like
Code: Select all
Procedure DoSomething(List List1.Type(), List2.Type())
So, what do you want to do?
1. Compare the complete lists with each other, whether all elements are the same?
You have to go through both lists simultanously and compare each item step by step.
2. Compare only the current element?
I don't know your code, so you maybe firstly have to check whether both lists contain valid items (via
ListPosition(MyList())). Then check both elements onto each other.
One more thing: You registered 2008, so this question seems a bit strange to me. Don't want to offend you, just being curious. Working with lists maybe not the first thing to do, but definitely not too advanced. But maybe I just don't understand your question, sorry.