Hi,
I have an array for example
arr(1) - mackeral
arr(2) - Tuna
arr(3) - Salmon
arr(4) - Salmon
arr(5) - Cod
arr(6) - mackeral
arr(7) - Tuna
arr(8) - Cod
arr(9) - Salmon
arr(10) - Cod
I need to check the arr values for any matches.
So for example check arr(1) against arr(2) to arr(10) and so on until all are checked against each other.
For example if checking
arr(1) - Mackerel
It would return the number 6 as the match
If checking arr(2) - Tuna
It would return the number 7 as the match
I want it to return the numbers as the matches.
From this information i want to get average prices.
Any pointers would be greatly appreciated.
Kind Regards
Matt
I have an array for example
arr(1) - mackeral
arr(2) - Tuna
arr(3) - Salmon
arr(4) - Salmon
arr(5) - Cod
arr(6) - mackeral
arr(7) - Tuna
arr(8) - Cod
arr(9) - Salmon
arr(10) - Cod
I need to check the arr values for any matches.
So for example check arr(1) against arr(2) to arr(10) and so on until all are checked against each other.
For example if checking
arr(1) - Mackerel
It would return the number 6 as the match
If checking arr(2) - Tuna
It would return the number 7 as the match
I want it to return the numbers as the matches.
From this information i want to get average prices.
Any pointers would be greatly appreciated.
Kind Regards
Matt