How do I implement a lookup table?

English only please. There is a German forum, see: Getting help in languages other than English