Shop OBEX P1 Docs P2 Docs Learn Events
lookup/lookupz — Parallax Forums

lookup/lookupz

Is it possible to use these instructions in a child object with the actual data being in a parent object? If so how?
Jim

Comments

  • JonnyMacJonnyMac Posts: 9,003
    edited 2021-11-30 04:40

    I don't think so; there is no option for a pointer to the search list.

    If you use Andy's suggestion to put your list in a DAT table and a simple index to address each element, your parent object could pass a pointer to that table to the child object.

  • Thanks Jon, I suspected that was the case.
    Jim

  • Sorry folks, it looks like I got a double post. My first post on this topic, was done from my android phone while on a break at work. The second, when I got home and did not see the first on the iPad.
    Jim

Sign In or Register to comment.