Sign in to follow this  
Followers 0
Chris_1013

two dimensional array look-up

2 posts in this topic

Is this anything anyone has done before? I want two lists of details, say

A B C D E F

1 2 3 4 5 6

from a variable, I will read an instance in the first list and I want to return the instance in the second list. ie, the variable is C, it returns 3 (these are only example values).

Anyone any ideas on a good way to do this? Can I scan all elements in an array to look for a match?

Cheers

Chris

Share this post


Link to post
Share on other sites



Larry, you da man, a small tweak of this to fit into my needs and it works like a charm. And MUCH quicker than I would have thought too :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0