Jump to content

two dimensional array look-up


Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...