Jump to content
Sign in to follow this  
Chris_1013

two dimensional array look-up

Recommended Posts

Chris_1013

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
Chris_1013

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.