Using LOOKDOWN with multiple search ?


Results 1 to 8 of 8

Threaded View

  1. #7
    Join Date
    Dec 2010
    Posts
    3


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by scalerobotics View Post
    Seems kind of futile, searching for characters in a known constant that is already pre-programmed into the chip. Shouldn't you already know where they are?

    Too bad:

    You are making an assumption that the list of constants is known.
    I only used the example of "mississippi" as I was unable (by definition) to give the contents of an unknown $tring as an example. It seems that LOOKDOWN, although useful for conversion to decimal, is unsuitable for scanning a string (list) of uncertain contents, where duplication may occur - as would happen with field separators. (Thanks, Bruce).
    I don't see any futility.

    Why do you say "Too bad" ?
    Last edited by electrosys; - 10th January 2011 at 15:17.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts