More help on LOOKUP tables please.


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default Re: More help on LOOKUP tables please.

    Hi, Surfies

    Could have been much easier for us YOU to explain what you physically tried to do ...

    I smell some kind of overkill trick here

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    Jul 2009
    Location
    Worcester South Africa
    Posts
    18


    Did you find this post helpful? Yes | No

    Default Re: More help on LOOKUP tables please.

    There is a push button on portc.3, then depending on how many times its pressed, ( up to 8 times ) the program must then jump to that number's sub routine. I hope that make sense.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default Re: More help on LOOKUP tables please.

    then depending on how many times its pressed, ( up to 8 times ) the program must then jump to that number's sub routine.
    so ...

    a "basic" set of IF ... THEN ... GOTO is the trick.

    SELECT CASE is the smart way to write it ... but is it available with v 2.32 ???

    LOOKUPx is generally used to retrieve constants/values/strings from a table , not label adresses.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Jul 2009
    Location
    Worcester South Africa
    Posts
    18


    Did you find this post helpful? Yes | No

    Default Re: More help on LOOKUP tables please.

    Yes, IF......THEN's is what I'll have to do , thought I could get away without them.
    Thanks a lot for all the help.

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